diff --git a/lib/libc/gen/getdomainname.c b/lib/libc/gen/getdomainname.c index 990d9f32bf40..2d1da284acbf 100644 --- a/lib/libc/gen/getdomainname.c +++ b/lib/libc/gen/getdomainname.c @@ -36,13 +36,15 @@ static char sccsid[] = "From: @(#)gethostname.c 8.1 (Berkeley) 6/4/93"; */ static const char rcsid[] = - "$Id$"; + "$Id: getdomainname.c,v 1.1 1994/08/08 00:40:23 wollman Exp $"; #endif /* LIBC_SCCS and not lint */ #include #include -long +#include + +int getdomainname(name, namelen) char *name; int namelen; diff --git a/lib/libc/gen/setdomainname.c b/lib/libc/gen/setdomainname.c index 6471762f4abe..34c700dc6d35 100644 --- a/lib/libc/gen/setdomainname.c +++ b/lib/libc/gen/setdomainname.c @@ -36,21 +36,16 @@ static char sccsid[] = "From: @(#)sethostname.c 8.1 (Berkeley) 6/4/93"; */ static const char rcsid[] = - "$Id$"; + "$Id: setdomainname.c,v 1.1 1994/08/08 00:40:24 wollman Exp $"; #endif /* LIBC_SCCS and not lint */ #include #include -#if __STDC__ -long +#include + +int setdomainname(const char *name, int namelen) -#else -long -setdomainname(name, namelen) - char *name; - int namelen; -#endif { int mib[2];