From c418d482baf414ef3f08a95ab99da7091f358b89 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer 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(). --- 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 ffd9dc1..59a2287 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.1