summaryrefslogtreecommitdiff
path: root/lib/libc/gen/setdomainname.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-07-15 17:32:43 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-07-15 17:32:43 +0000
commit6977ec485ff4a4da087e1b9f32510dac89dc24ea (patch)
tree804ecc5aa95bb4d4d6e83f92d8fbbefe37bc5d71 /lib/libc/gen/setdomainname.c
parent66facd15e4103082c557ec4b9ded7b275533ddca (diff)
proto repairs
Diffstat (limited to 'lib/libc/gen/setdomainname.c')
-rw-r--r--lib/libc/gen/setdomainname.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/gen/setdomainname.c b/lib/libc/gen/setdomainname.c
index 8e1b40e829c..330cf63ce2c 100644
--- a/lib/libc/gen/setdomainname.c
+++ b/lib/libc/gen/setdomainname.c
@@ -28,11 +28,12 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: setdomainname.c,v 1.6 2003/06/02 20:18:34 millert Exp $";
+static char rcsid[] = "$OpenBSD: setdomainname.c,v 1.7 2003/07/15 17:32:41 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/param.h>
#include <sys/sysctl.h>
+#include <unistd.h>
int
setdomainname(const char *name, size_t namelen)