aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-03-17 08:29:27 +0000
committerUlrich Drepper <drepper@redhat.com>2001-03-17 08:29:27 +0000
commit2bd7e9c3878b2a828999bd7c133419351d4007d7 (patch)
treed2411f5621e375754403e96ea26c694c8852e0d3 /sysdeps/mach
parent276ae1f29c34cfbc579e7959e8f0bc65916672c0 (diff)
downloadglibc-2bd7e9c3878b2a828999bd7c133419351d4007d7.zip
glibc-2bd7e9c3878b2a828999bd7c133419351d4007d7.tar.gz
glibc-2bd7e9c3878b2a828999bd7c133419351d4007d7.tar.bz2
Update.
2001-03-17 Ulrich Drepper <drepper@redhat.com> * 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.
Diffstat (limited to 'sysdeps/mach')
-rw-r--r--sysdeps/mach/hurd/gethostname.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/gethostname.c b/sysdeps/mach/hurd/gethostname.c
index b74945b..4b7a61c 100644
--- a/sysdeps/mach/hurd/gethostname.c
+++ b/sysdeps/mach/hurd/gethostname.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-1997, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1991-1997, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -25,7 +25,7 @@
int
__gethostname (name, len)
char *name;
- socklen_t len;
+ size_t len;
{
/* The host name is just the contents of the file /etc/hostname. */
ssize_t n = _hurd_get_host_config ("/etc/hostname", name, len);