aboutsummaryrefslogtreecommitdiff
path: root/toys.h
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2014-09-27 19:59:28 -0500
committerRob Landley <rob@landley.net>2014-09-27 19:59:28 -0500
commitd97440cb600750fc4ed3b2ef38b64a4b5b401955 (patch)
treed3ace5e79b80319f921658b3860bceebfbe697b2 /toys.h
parentdc1af185e73410c5cad997c600678c212262a13c (diff)
downloadtoybox-d97440cb600750fc4ed3b2ef38b64a4b5b401955.tar.gz
Have OLDTOY emit (redundant) function prototype so single.sh can build OLDTOY standalone (if it has its own config symbol).
Diffstat (limited to 'toys.h')
-rw-r--r--toys.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys.h b/toys.h
index f431c748..2e5c6b0f 100644
--- a/toys.h
+++ b/toys.h
@@ -75,7 +75,7 @@
// 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)
+#define OLDTOY(name, oldname, opts, flags) void oldname##_main(void);
#include "generated/newtoys.h"
#include "generated/oldtoys.h"
#include "generated/flags.h"