diff options
author | Rob Landley <rob@landley.net> | 2007-01-31 13:31:19 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2007-01-31 13:31:19 -0500 |
commit | a6d696b74adb08d83b21f8299b5443f31a5f43ec (patch) | |
tree | 7eb1f2bf89802f540f805b54c3d0f07f7fb29c26 /main.c | |
parent | 00569d66369f9cf4e2770342511372f947cd047d (diff) | |
download | toybox-a6d696b74adb08d83b21f8299b5443f31a5f43ec.tar.gz |
Small cleanup to prepare for cross-compile friendly make install.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -8,8 +8,12 @@ // Populate toy_list[]. +#undef NEWTOY +#undef OLDTOY +#define NEWTOY(name, opts, flags) {#name, name##_main, opts, flags}, +#define OLDTOY(name, oldname, opts, flags) {#name, oldname##_main, opts, flags}, + struct toy_list toy_list[] = { -#define FROM_MAIN #include "toys/toylist.h" }; |