From: tholo Date: Fri, 22 Mar 1996 07:37:29 +0000 (+0000) Subject: sethostid() is documented and has historically returned int, not long X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=7189df174d9f84582c300f9cd040ded628b990e5;p=openbsd sethostid() is documented and has historically returned int, not long --- 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