diff options
author | Rob Landley <rob@landley.net> | 2016-02-10 23:06:12 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2016-02-10 23:06:12 -0600 |
commit | 187649de817b618c967d234f0707008e90e52504 (patch) | |
tree | aea586341dce56fd86cc95e8933bc179c0e9dc7c /lib | |
parent | 28711d308d9d70801ac0c9552df834ddafff2385 (diff) | |
download | toybox-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" |