summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/sethostname.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/sethostname.c')
-rw-r--r--lib/libc/gen/sethostname.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/libc/gen/sethostname.c b/lib/libc/gen/sethostname.c
index 1f0a14a..769401a 100644
--- a/lib/libc/gen/sethostname.c
+++ b/lib/libc/gen/sethostname.c
@@ -40,15 +40,8 @@ __FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/sysctl.h>
-#if __STDC__
int
sethostname(const char *name, int namelen)
-#else
-int
-sethostname(name, namelen)
- char *name;
- int namelen;
-#endif
{
int mib[2];
OpenPOWER on IntegriCloud