From 2bd7e9c3878b2a828999bd7c133419351d4007d7 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 17 Mar 2001 08:29:27 +0000 Subject: Update. 2001-03-17 Ulrich Drepper * inet/Makefile (tests): Remove left-over comment. * posix/unistd.h: Change type of second parameter back to size_t as per upcoming XPG6. * sysdeps/unix/sysv/aix/gethostname.c: Change type of second parameter back to size_t as per upcoming XPG6. * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise. * sysdeps/unix/sysv/gethostname.c: Likewise. * sysdeps/mach/hurd/gethostname.c: Likewise. * sysdeps/generic/gethostname.c: Likewise. --- sysdeps/unix/sysv/sysv4/gethostname.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sysdeps/unix/sysv/sysv4') diff --git a/sysdeps/unix/sysv/sysv4/gethostname.c b/sysdeps/unix/sysv/sysv4/gethostname.c index 3f967e15d4..1a1440f079 100644 --- a/sysdeps/unix/sysv/sysv4/gethostname.c +++ b/sysdeps/unix/sysv/sysv4/gethostname.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1994, 1995, 1997, 2000 Free Software Foundation, Inc. +/* Copyright (C) 1994, 1995, 1997, 2000, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Brendan Kehoe (brendan@zen.org). @@ -27,7 +27,7 @@ extern int __sysinfo (int command, char *buf, long int count); int __gethostname (name, namelen) char *name; - socklen_t namelen; + size_t namelen; { return __sysinfo (SI_HOSTNAME, name, namelen); } -- cgit v1.2.3