aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2016-02-10 23:06:12 -0600
committerRob Landley <rob@landley.net>2016-02-10 23:06:12 -0600
commit187649de817b618c967d234f0707008e90e52504 (patch)
treeaea586341dce56fd86cc95e8933bc179c0e9dc7c /lib
parent28711d308d9d70801ac0c9552df834ddafff2385 (diff)
downloadtoybox-187649de817b618c967d234f0707008e90e52504.tar.gz
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).
Diffstat (limited to 'lib')
-rw-r--r--lib/help.c2
1 files changed, 1 insertions, 1 deletions
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"