X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Ftools.h;h=ed2f6bfb6e77442e9682f450d34db6b2cce6e93e;hp=b7fe9155802df816af4feefaf37f037dac38fcae;hb=009f261242b7e1f5482e097315c82a4185a708bf;hpb=76ae790f2cc2cb1e46bb0b9e5002c7feb6a79df1 diff --git a/tools/tools.h b/tools/tools.h index b7fe9155..ed2f6bfb 100644 --- a/tools/tools.h +++ b/tools/tools.h @@ -9,7 +9,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 -Iccan/ -I. -I.. -I../.." /* This actually compiles and runs the info file to get dependencies. */ char **get_deps(const void *ctx, const char *dir, const char *name,