aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2008-01-19 17:43:27 -0600
committerRob Landley <rob@landley.net>2008-01-19 17:43:27 -0600
commit55928b1e0a08d84a5cbc50020f0a8c1024f5b6ce (patch)
tree22a4175b86fc92f3ac5745f658dcb4f4f339fcec /main.c
parent2896480c4918f2accccb8301bec457a7bff7377e (diff)
downloadtoybox-55928b1e0a08d84a5cbc50020f0a8c1024f5b6ce.tar.gz
Move NEWTOY() list from end of toylist.h to generated/newtoys.h.
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index 1adaead3..b7adeda2 100644
--- a/main.c
+++ b/main.c
@@ -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[])