diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-03-17 08:29:27 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-03-17 08:29:27 +0000 |
commit | 2bd7e9c3878b2a828999bd7c133419351d4007d7 (patch) | |
tree | d2411f5621e375754403e96ea26c694c8852e0d3 /posix/unistd.h | |
parent | 276ae1f29c34cfbc579e7959e8f0bc65916672c0 (diff) | |
download | glibc-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 'posix/unistd.h')
-rw-r--r-- | posix/unistd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/unistd.h b/posix/unistd.h index 809e87a..1148cb7 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. */ |