X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Ftools.h;h=5f5f119dfaa6d20e8ed5b46fe990681be9edacdd;hp=b7fe9155802df816af4feefaf37f037dac38fcae;hb=32a31d9e4fb1f312a47ae8c237ac30d6c1567ccd;hpb=5f44c8ca0eb66503db51e0df1b65ff173eb42f57 diff --git a/tools/tools.h b/tools/tools.h index b7fe9155..5f5f119d 100644 --- a/tools/tools.h +++ b/tools/tools.h @@ -8,8 +8,8 @@ #define SPACE_CHARS " \f\n\r\t\v" -/* FIXME: Remove some -I */ -#define CFLAGS "-g -Wall -Wundef -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Werror -Iccan/ -I. -I.. -I../.." +/* FIXME: Nested functions break with -Wmissing-prototypes -Wmissing-declarations */ +#define CFLAGS "-g -Wall -Wundef -Wstrict-prototypes -Wold-style-definition -Werror -I../.." /* This actually compiles and runs the info file to get dependencies. */ char **get_deps(const void *ctx, const char *dir, const char *name,