summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/sethostname.c
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-05-28 17:03:12 +0000
committeralfred <alfred@FreeBSD.org>2002-05-28 17:03:12 +0000
commit1ee311b26d7122f860fe940db6ce46968981a9a3 (patch)
tree96c195652047b452e756960d6bdfc6786443c564 /lib/libc/gen/sethostname.c
parentae40c00e1724fe7d6584623e3a953b6b44fc741f (diff)
downloadFreeBSD-src-1ee311b26d7122f860fe940db6ce46968981a9a3.zip
FreeBSD-src-1ee311b26d7122f860fe940db6ce46968981a9a3.tar.gz
Assume __STDC__, remove non-__STDC__ code.
Submitted by: keramida
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