summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorDenis Vlasenko2007-05-17 13:02:41 +0000
committerDenis Vlasenko2007-05-17 13:02:41 +0000
commit96f67dc69d251168ea1c0adfaf6ff126d5dcbd36 (patch)
treec9a178cb85eaa3ae1e2386c7ae6e4c3f6c9f6924 /libbb
parentd46e6d1a55f1182b8aa2d621a2532bad3bc20ee9 (diff)
downloadbusybox-96f67dc69d251168ea1c0adfaf6ff126d5dcbd36.zip
busybox-96f67dc69d251168ea1c0adfaf6ff126d5dcbd36.tar.gz
more compile fixes from randomconfig run
Diffstat (limited to 'libbb')
-rw-r--r--libbb/vfork_daemon_rexec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbb/vfork_daemon_rexec.c b/libbb/vfork_daemon_rexec.c
index aef74e9..a2572b0 100644
--- a/libbb/vfork_daemon_rexec.c
+++ b/libbb/vfork_daemon_rexec.c
@@ -100,6 +100,7 @@ int wait_pid(int *wstat, int pid)
return r;
}
+#if ENABLE_FEATURE_PREFER_APPLETS
void save_nofork_data(struct nofork_save_area *save)
{
save->current_applet = current_applet;
@@ -162,6 +163,7 @@ int run_nofork_applet(const struct bb_applet *a, char **argv)
save_nofork_data(&old);
return run_nofork_applet_prime(&old, a, argv);
}
+#endif /* FEATURE_PREFER_APPLETS */
int spawn_and_wait(char **argv)
{