projects
/
platform
/
upstream
/
toybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
dc1af18
)
Have OLDTOY emit (redundant) function prototype so single.sh can build OLDTOY standal...
author
Rob Landley
<rob@landley.net>
Sun, 28 Sep 2014 00:59:28 +0000
(19:59 -0500)
committer
Rob Landley
<rob@landley.net>
Sun, 28 Sep 2014 00:59:28 +0000
(19:59 -0500)
toys.h
patch
|
blob
|
history
diff --git
a/toys.h
b/toys.h
index
f431c74
..
2e5c6b0
100644
(file)
--- 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);
// 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"
#include "generated/newtoys.h"
#include "generated/oldtoys.h"
#include "generated/flags.h"