summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>2003-08-19 20:39:49 +0000
committerwollman <wollman@FreeBSD.org>2003-08-19 20:39:49 +0000
commit40a6177f97fd965d4684bae490c96ca52faf8c2f (patch)
tree4ec1b8304323fa823a570783e2609dda6da68f73 /include
parentf2841dd3a44a167c639e1a3de8b67a9e2244d8e3 (diff)
downloadFreeBSD-src-40a6177f97fd965d4684bae490c96ca52faf8c2f.zip
FreeBSD-src-40a6177f97fd965d4684bae490c96ca52faf8c2f.tar.gz
Update gethostname() prototype to match source and standard.
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 f23ab4f..8cd8edc 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -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
OpenPOWER on IntegriCloud