From 673686ee89d45c75d6aa0e9d7797ad979a28ed5b Mon Sep 17 00:00:00 2001 From: aldot Date: Wed, 31 May 2006 10:19:51 +0000 Subject: - 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 --- libbb/vfork_daemon_rexec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbb') 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 @@ #include "libbb.h" -#if defined(__uClinux__) +#ifdef BB_NOMMU void vfork_daemon_rexec(int nochdir, int noclose, int argc, char **argv, char *foreground_opt) { @@ -64,4 +64,4 @@ void vfork_daemon_rexec(int nochdir, int noclose, exit(0); } } -#endif /* uClinux */ +#endif /* BB_NOMMU */ -- cgit v1.2.3-55-g6feb