From 04f6ba42aba0902423c9ef2d2218ed3c640e7ad2 Mon Sep 17 00:00:00 2001 From: jkh Date: Thu, 5 Dec 1996 18:27:20 +0000 Subject: sethostname() returns int, not long. I could get used to having this copy of insure++, too bad the runtime only works for BSD/OS. :-( Maybe they'll be so impressed by my initial 15 entry bug report for it that they'll take the FreeBSD version more seriously. :-) :-) --- lib/libc/gen/sethostname.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libc/gen/sethostname.c') diff --git a/lib/libc/gen/sethostname.c b/lib/libc/gen/sethostname.c index 639837e..6c3adc3 100644 --- a/lib/libc/gen/sethostname.c +++ b/lib/libc/gen/sethostname.c @@ -39,10 +39,10 @@ static char sccsid[] = "@(#)sethostname.c 8.1 (Berkeley) 6/4/93"; #include #if __STDC__ -long +int sethostname(const char *name, int namelen) #else -long +int sethostname(name, namelen) char *name; int namelen; -- cgit v1.1