diff options
author | Rob Landley <rob@landley.net> | 2008-01-19 17:43:27 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2008-01-19 17:43:27 -0600 |
commit | 55928b1e0a08d84a5cbc50020f0a8c1024f5b6ce (patch) | |
tree | 22a4175b86fc92f3ac5745f658dcb4f4f339fcec /toys.h | |
parent | 2896480c4918f2accccb8301bec457a7bff7377e (diff) | |
download | toybox-55928b1e0a08d84a5cbc50020f0a8c1024f5b6ce.tar.gz |
Move NEWTOY() list from end of toylist.h to generated/newtoys.h.
Diffstat (limited to 'toys.h')
-rw-r--r-- | toys.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -41,6 +41,12 @@ #include "toys/e2fs.h" #include "toys/toylist.h" +// Get list of function prototypes for all enabled command_main() functions. + +#define NEWTOY(name, opts, flags) void name##_main(void); +#define OLDTOY(name, oldname, opts, flags) +#include "generated/newtoys.h" + // These live in main.c struct toy_list *toy_find(char *name); |