summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1996-03-22 07:37:30 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1996-03-22 07:37:30 +0000
commit2e626ce0d93608c66ed59e75da209764b530d2d4 (patch)
treec6feed2b12467817797fec2dc16ab3c6de7b7e70
parent05e8dd7eaf3b1fb4e2b46d3071635564a32b3a65 (diff)
sethostid() is documented and has historically returned int, not long
-rw-r--r--lib/libc/compat-43/sethostid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/compat-43/sethostid.c b/lib/libc/compat-43/sethostid.c
index 8122c81dd10..fd7c0a56b2a 100644
--- a/lib/libc/compat-43/sethostid.c
+++ b/lib/libc/compat-43/sethostid.c
@@ -39,10 +39,10 @@ static char sccsid[] = "@(#)sethostid.c 8.1 (Berkeley) 6/2/93";
#include <sys/sysctl.h>
#if __STDC__
-long
+int
sethostid(long hostid)
#else
-long
+int
sethostid(hostid)
long hostid;
#endif