From 977216264f4ef4c2ebeb9d30435c17a950fed6e6 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 4 Oct 2005 22:26:07 +0000 Subject: Do not stub out functions for mmu-less systems. Hide all prototypes for functions disabled on mmu-less systems. --- libc/unistd/daemon.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libc/unistd/daemon.c') diff --git a/libc/unistd/daemon.c b/libc/unistd/daemon.c index 91ae4056f..c584d8fc5 100644 --- a/libc/unistd/daemon.c +++ b/libc/unistd/daemon.c @@ -29,8 +29,7 @@ #include #include -/* Note that this file should not be compiled in - * unless __ARCH_HAS_MMU__ is defined */ +#if defined __ARCH_HAS_MMU__ int daemon( int nochdir, int noclose ) { @@ -66,7 +65,7 @@ int daemon( int nochdir, int noclose ) return(0); } - +#endif /*- * Copyright (c) 1990, 1993 -- cgit v1.2.3