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 /main.c | |
parent | 2896480c4918f2accccb8301bec457a7bff7377e (diff) | |
download | toybox-55928b1e0a08d84a5cbc50020f0a8c1024f5b6ce.tar.gz |
Move NEWTOY() list from end of toylist.h to generated/newtoys.h.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -14,7 +14,7 @@ #define OLDTOY(name, oldname, opts, flags) {#name, oldname##_main, opts, flags}, struct toy_list toy_list[] = { -#include "toys/toylist.h" +#include "generated/newtoys.h" }; #define TOY_LIST_LEN (sizeof(toy_list)/sizeof(struct toy_list)) @@ -59,7 +59,7 @@ struct toy_list *toy_find(char *name) #define NEWTOY(name, opts, flags) opts || #define OLDTOY(name, oldname, opts, flags) opts || static const int NEED_OPTIONS = -#include "toys/toylist.h" +#include "generated/newtoys.h" 0; // Ends the opts || opts || opts... void toy_init(struct toy_list *which, char *argv[]) |