summaryrefslogtreecommitdiffstats
path: root/libc/unistd/daemon.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-02-13 08:05:00 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-02-13 08:05:00 +0000
commit12c4a2b9298f6bb4320509b8bb21ba0aa2d4392d (patch)
tree28723868da4422bb40703447eb3861356ad45ae6 /libc/unistd/daemon.c
parent9f6d68b60130cd04f48735e7400a2ffa94f00443 (diff)
downloaduClibc-alpine-12c4a2b9298f6bb4320509b8bb21ba0aa2d4392d.tar.bz2
uClibc-alpine-12c4a2b9298f6bb4320509b8bb21ba0aa2d4392d.tar.xz
Don't compile daemon.c at all for non-MMU
Diffstat (limited to 'libc/unistd/daemon.c')
-rw-r--r--libc/unistd/daemon.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libc/unistd/daemon.c b/libc/unistd/daemon.c
index 77e10dd76..03cffc7d1 100644
--- a/libc/unistd/daemon.c
+++ b/libc/unistd/daemon.c
@@ -46,7 +46,6 @@
#include <paths.h>
#include <unistd.h>
-#if defined __ARCH_HAS_MMU__
libc_hidden_proto(open)
libc_hidden_proto(close)
libc_hidden_proto(_exit)
@@ -88,5 +87,3 @@ int daemon( int nochdir, int noclose )
}
return(0);
}
-
-#endif