From 64b8d39133a0c72de6e87f9436f07e089591a826 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Thu, 23 Mar 2006 11:17:41 +0000 Subject: Mark some functions as BSD only --- libc/unistd/daemon.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libc/unistd/daemon.c') diff --git a/libc/unistd/daemon.c b/libc/unistd/daemon.c index 03cffc7d1..2d1d9af27 100644 --- a/libc/unistd/daemon.c +++ b/libc/unistd/daemon.c @@ -46,6 +46,8 @@ #include #include +#if defined __USE_BSD || (defined __USE_XOPEN && !defined __USE_UNIX98) + libc_hidden_proto(open) libc_hidden_proto(close) libc_hidden_proto(_exit) @@ -87,3 +89,4 @@ int daemon( int nochdir, int noclose ) } return(0); } +#endif -- cgit v1.2.3