From 7189df174d9f84582c300f9cd040ded628b990e5 Mon Sep 17 00:00:00 2001 From: tholo Date: Fri, 22 Mar 1996 07:37:29 +0000 Subject: [PATCH] sethostid() is documented and has historically returned int, not long --- lib/libc/compat-43/sethostid.c | 4 ++-- 1 file 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 #if __STDC__ -long +int sethostid(long hostid) #else -long +int sethostid(hostid) long hostid; #endif -- 2.20.1