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(). --- include/libbb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/libbb.h') diff --git a/include/libbb.h b/include/libbb.h index 5f2309a25..e4be35d48 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -492,7 +492,7 @@ extern int my_query_module(const char *name, int which, void **buf, size_t *bufs extern void print_login_issue(const char *issue_file, const char *tty); extern void print_login_prompt(void); -#if defined(__uClinux__) +#ifdef BB_NOMMU extern void vfork_daemon_rexec(int nochdir, int noclose, int argc, char **argv, char *foreground_opt); #endif -- cgit v1.2.3