X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Ftools.h;h=4bdb8077e26c82b3f6934877a2b7f82706ccf0e0;hp=a7612c7a4022043f76c40e929dbc362fddc1ef58;hb=f83c45bf4ccd00d81498c30cf7455a9813cf104b;hpb=023f704e8089f64bd7a77bb7f95b8ea5355fe640 diff --git a/tools/tools.h b/tools/tools.h index a7612c7a..4bdb8077 100644 --- a/tools/tools.h +++ b/tools/tools.h @@ -2,12 +2,18 @@ #define CCAN_TOOLS_H #include +#define IDENT_CHARS "ABCDEFGHIJKLMNOPQRSTUVWXYZ" \ + "abcdefghijklmnopqrstuvwxyz" \ + "01234567889_" + +#define SPACE_CHARS " \f\n\r\t\v" + #define CFLAGS "-O3 -Wall -Wundef -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Werror -Iccan/ -I." -/* This actually compiles and runs the _info.c file to get dependencies. */ +/* This actually compiles and runs the info file to get dependencies. */ char **get_deps(const void *ctx, const char *dir, bool recurse); -/* This is safer: just looks for ccan/ strings in _info.c */ +/* This is safer: just looks for ccan/ strings in info */ char **get_safe_ccan_deps(const void *ctx, const char *dir, bool recurse); #endif /* CCAN_TOOLS_H */