Fixed compilation warnings while it's still not implemented

This commit is contained in:
Pierre Pronchery 2008-08-13 15:18:53 +00:00
parent f746fd8f9d
commit 5bca49bf9b

View File

@ -17,9 +17,30 @@
* - parse C files (.c and .h) and update dependencies in project.conf */ * - parse C files (.c and .h) and update dependencies in project.conf */
#include <unistd.h>
#include <stdio.h>
/* usage */
static int _usage(void)
{
fputs("Usage: makedepend\n", stderr);
return 1;
}
/* main */ /* main */
int main(int argc, char * argv[]) int main(int argc, char * argv[])
{ {
/* FIXME */ /* FIXME implement */
return 1; int o;
while((o = getopt(argc, argv, "")) != -1)
switch(o)
{
default:
return _usage();
}
return 2;
} }