summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/gethostname.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/gethostname.c')
-rw-r--r--lib/libc/gen/gethostname.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libc/gen/gethostname.c b/lib/libc/gen/gethostname.c
index c83805e..dc2b372 100644
--- a/lib/libc/gen/gethostname.c
+++ b/lib/libc/gen/gethostname.c
@@ -40,9 +40,7 @@ __FBSDID("$FreeBSD$");
#include <unistd.h>
int
-gethostname(name, namelen)
- char *name;
- size_t namelen;
+gethostname(char *name, size_t namelen)
{
int mib[2];
OpenPOWER on IntegriCloud