From cbb13fa11fdf4e178016090ecda8aac67d1dd83f Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 13 May 1998 08:51:01 +0000 Subject: change size parameter to size_t --- lib/libc/gen/gethostname.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libc/gen/gethostname.c') diff --git a/lib/libc/gen/gethostname.c b/lib/libc/gen/gethostname.c index b300c6a6641..0abf43a90f0 100644 --- a/lib/libc/gen/gethostname.c +++ b/lib/libc/gen/gethostname.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: gethostname.c,v 1.2 1996/08/19 08:23:35 tholo Exp $"; +static char rcsid[] = "$OpenBSD: gethostname.c,v 1.3 1998/05/13 08:50:58 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #include @@ -41,7 +41,7 @@ static char rcsid[] = "$OpenBSD: gethostname.c,v 1.2 1996/08/19 08:23:35 tholo E int gethostname(name, namelen) char *name; - int namelen; + size_t namelen; { int mib[2]; size_t size; -- cgit v1.2.3