- 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().
This commit is contained in:
parent
507cd755a4
commit
c418d482ba
7 changed files with 19 additions and 19 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue