artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be0fe85
)
sethostid() is documented and has historically returned int, not long
author
tholo
<tholo@openbsd.org>
Fri, 22 Mar 1996 07:37:29 +0000
(07:37 +0000)
committer
tholo
<tholo@openbsd.org>
Fri, 22 Mar 1996 07:37:29 +0000
(07:37 +0000)
lib/libc/compat-43/sethostid.c
patch
|
blob
|
history
diff --git
a/lib/libc/compat-43/sethostid.c
b/lib/libc/compat-43/sethostid.c
index
8122c81
..
fd7c0a5
100644
(file)
--- 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