diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-05-17 13:02:41 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-05-17 13:02:41 +0000 |
commit | 96f67dc69d251168ea1c0adfaf6ff126d5dcbd36 (patch) | |
tree | c9a178cb85eaa3ae1e2386c7ae6e4c3f6c9f6924 /libbb/vfork_daemon_rexec.c | |
parent | d46e6d1a55f1182b8aa2d621a2532bad3bc20ee9 (diff) | |
download | busybox-w32-96f67dc69d251168ea1c0adfaf6ff126d5dcbd36.tar.gz busybox-w32-96f67dc69d251168ea1c0adfaf6ff126d5dcbd36.tar.bz2 busybox-w32-96f67dc69d251168ea1c0adfaf6ff126d5dcbd36.zip |
more compile fixes from randomconfig run
Diffstat (limited to 'libbb/vfork_daemon_rexec.c')
-rw-r--r-- | libbb/vfork_daemon_rexec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libbb/vfork_daemon_rexec.c b/libbb/vfork_daemon_rexec.c index aef74e994..a2572b0a9 100644 --- a/libbb/vfork_daemon_rexec.c +++ b/libbb/vfork_daemon_rexec.c | |||
@@ -100,6 +100,7 @@ int wait_pid(int *wstat, int pid) | |||
100 | return r; | 100 | return r; |
101 | } | 101 | } |
102 | 102 | ||
103 | #if ENABLE_FEATURE_PREFER_APPLETS | ||
103 | void save_nofork_data(struct nofork_save_area *save) | 104 | void save_nofork_data(struct nofork_save_area *save) |
104 | { | 105 | { |
105 | save->current_applet = current_applet; | 106 | save->current_applet = current_applet; |
@@ -162,6 +163,7 @@ int run_nofork_applet(const struct bb_applet *a, char **argv) | |||
162 | save_nofork_data(&old); | 163 | save_nofork_data(&old); |
163 | return run_nofork_applet_prime(&old, a, argv); | 164 | return run_nofork_applet_prime(&old, a, argv); |
164 | } | 165 | } |
166 | #endif /* FEATURE_PREFER_APPLETS */ | ||
165 | 167 | ||
166 | int spawn_and_wait(char **argv) | 168 | int spawn_and_wait(char **argv) |
167 | { | 169 | { |