Update gethostname() prototype to match source and standard.

This commit is contained in:
Garrett Wollman 2003-08-19 20:39:49 +00:00
parent effcb5eca3
commit 73282a3b6c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=119141

View File

@ -404,7 +404,7 @@ int fchown(int, uid_t, gid_t);
int readlink(const char *, char *, int);
#endif
#if __POSIX_VISIBLE >= 200112
int gethostname(char *, int /* socklen_t */);
int gethostname(char *, size_t);
int setegid(gid_t);
int seteuid(uid_t);
#endif