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. --- posix/unistd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'posix') diff --git a/posix/unistd.h b/posix/unistd.h index 809e87a540..1148cb74fc 100644 --- a/posix/unistd.h +++ b/posix/unistd.h @@ -732,7 +732,7 @@ extern int setlogin (__const char *__name) __THROW; /* Put the name of the current host in no more than LEN bytes of NAME. The result is null-terminated if LEN is large enough for the full name and the terminator. */ -extern int gethostname (char *__name, socklen_t __len) __THROW; +extern int gethostname (char *__name, size_t __len) __THROW; /* Set the name of the current host to NAME, which is LEN bytes long. This call is restricted to the super-user. */ -- cgit v1.2.3