From 187649de817b618c967d234f0707008e90e52504 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Wed, 10 Feb 2016 23:06:12 -0600 Subject: Don't include toys.h from config2help.c (so cross-compiling from systems we don't run on is easier), and use HELP_ instead of help_ for macro prefixes to avoid name collisions (such as help_exit() the function). --- lib/help.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/help.c') diff --git a/lib/help.c b/lib/help.c index 29965043..9ff575bc 100644 --- a/lib/help.c +++ b/lib/help.c @@ -9,7 +9,7 @@ void show_help(FILE *out) {;} #undef NEWTOY #undef OLDTOY -#define NEWTOY(name,opt,flags) help_##name "\0" +#define NEWTOY(name,opt,flags) HELP_##name "\0" #define OLDTOY(name,oldname,flags) "\xff" #oldname "\0" static char *help_data = #include "generated/newtoys.h" -- cgit v1.2.3