aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-03-21 18:53:05 +0000
committerUlrich Drepper <drepper@redhat.com>2001-03-21 18:53:05 +0000
commitcf4431ed2d72b47bbc36f9656b60b978d29a9dec (patch)
tree822a317584a9128bfe398a286a2dfa3f4ed929ce /include
parentdf4cada7cf22a1dce173351b29c8b183e6846acb (diff)
downloadglibc-cf4431ed2d72b47bbc36f9656b60b978d29a9dec.tar
glibc-cf4431ed2d72b47bbc36f9656b60b978d29a9dec.tar.gz
glibc-cf4431ed2d72b47bbc36f9656b60b978d29a9dec.tar.bz2
glibc-cf4431ed2d72b47bbc36f9656b60b978d29a9dec.zip
Update.
2001-03-20 Andreas Schwab <schwab@suse.de> * include/unistd.h: Adjust prototype of __gethostname.
Diffstat (limited to 'include')
-rw-r--r--include/unistd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/unistd.h b/include/unistd.h
index 3e258d35a5..b8bc8bbf72 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -77,7 +77,7 @@ extern int __link (__const char *__from, __const char *__to);
extern int __symlink (__const char *__from, __const char *__to);
extern int __readlink (__const char *__path, char *__buf, size_t __len);
extern int __unlink (__const char *__name);
-extern int __gethostname (char *__name, socklen_t __len);
+extern int __gethostname (char *__name, size_t __len);
extern int __profil (unsigned short int *__sample_buffer, size_t __size,
size_t __offset, unsigned int __scale);
extern int __getdtablesize (void);