aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authoraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-05-31 10:19:51 +0000
committeraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-05-31 10:19:51 +0000
commit673686ee89d45c75d6aa0e9d7797ad979a28ed5b (patch)
tree4bcf7032041b501464f38ff9715f98453bebcbaf /libbb
parentd3ff731ada83714a84a18bdf36a0025f5ea94a84 (diff)
downloadbusybox-w32-673686ee89d45c75d6aa0e9d7797ad979a28ed5b.tar.gz
busybox-w32-673686ee89d45c75d6aa0e9d7797ad979a28ed5b.tar.bz2
busybox-w32-673686ee89d45c75d6aa0e9d7797ad979a28ed5b.zip
- s/defined(__uClinux__)/BB_NOMMU/
This needs a second pass to: + add bb_daemon(unsigned char no_chdir, unsigned char no_close, const char*flag) + eventually globally export argc and argv, so we don't need to pass it to bb_daemon(). git-svn-id: svn://busybox.net/trunk/busybox@15244 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb')
-rw-r--r--libbb/vfork_daemon_rexec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/vfork_daemon_rexec.c b/libbb/vfork_daemon_rexec.c
index ffd9dc15e..59a2287b0 100644
--- a/libbb/vfork_daemon_rexec.c
+++ b/libbb/vfork_daemon_rexec.c
@@ -22,7 +22,7 @@
22#include "libbb.h" 22#include "libbb.h"
23 23
24 24
25#if defined(__uClinux__) 25#ifdef BB_NOMMU
26void vfork_daemon_rexec(int nochdir, int noclose, 26void vfork_daemon_rexec(int nochdir, int noclose,
27 int argc, char **argv, char *foreground_opt) 27 int argc, char **argv, char *foreground_opt)
28{ 28{
@@ -64,4 +64,4 @@ void vfork_daemon_rexec(int nochdir, int noclose,
64 exit(0); 64 exit(0);
65 } 65 }
66} 66}
67#endif /* uClinux */ 67#endif /* BB_NOMMU */