summaryrefslogtreecommitdiff
path: root/lib/libc/gen/sethostname.c
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2002-05-28 17:03:12 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2002-05-28 17:03:12 +0000
commita82bbc730e20fe9dec4abeb1d949b2d02869032a (patch)
tree96c195652047b452e756960d6bdfc6786443c564 /lib/libc/gen/sethostname.c
parent6ba807ae3ad4a36737776b8360698979fb378d97 (diff)
Notes
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 1f0a14a1e599..769401af6ed2 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];