diff options
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. */ |