Warnings compiling ltp-20011107/testcases/kernel/fs/openfile/openfile.c:
cc -Wall -lpthread openfile.c -o openfile
openfile.c: In function `main':
openfile.c:72: warning: implicit declaration of function `getopt'
openfile.c:129: warning: implicit declaration of function `unlink'
Eliminate warnings by including <unistd.h>:
This is what the includes in my openfile.c look like now:
Get latest updates about Open Source Projects, Conferences and News.