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/inet/hostid.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libc/inet') diff --git a/libc/inet/hostid.c b/libc/inet/hostid.c index 8d6001818..716bffaf3 100644 --- a/libc/inet/hostid.c +++ b/libc/inet/hostid.c @@ -27,6 +27,7 @@ libc_hidden_proto(gethostname) #define HOSTID "/etc/hostid" +#ifdef __USE_BSD int sethostid(long int new_id) { int fd; @@ -39,6 +40,7 @@ int sethostid(long int new_id) close (fd); return ret; } +#endif long int gethostid(void) { -- cgit v1.2.3