diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-10-12 09:47:29 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-10-12 09:47:29 +0000 |
commit | 56643a0b05f07deec6b0c63aedb0936b5e494cd8 (patch) | |
tree | 1998c44a590ef32cbff0b6a3bec7d05f268887e3 /usr.sbin/ypserv/yppush/yppush_svc.c | |
parent | c2fd88cb8f9503b93728e2d8675ce2fecd240eb6 (diff) |
cleanups
Diffstat (limited to 'usr.sbin/ypserv/yppush/yppush_svc.c')
-rw-r--r-- | usr.sbin/ypserv/yppush/yppush_svc.c | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/usr.sbin/ypserv/yppush/yppush_svc.c b/usr.sbin/ypserv/yppush/yppush_svc.c index 3d67eadd507..f54abd9fca2 100644 --- a/usr.sbin/ypserv/yppush/yppush_svc.c +++ b/usr.sbin/ypserv/yppush/yppush_svc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: yppush_svc.c,v 1.3 2000/06/28 23:58:24 deraadt Exp $ */ +/* $OpenBSD: yppush_svc.c,v 1.4 2000/10/12 09:47:28 deraadt Exp $ */ /* * Copyright (c) 1996 Mats O Jansson <moj@stacken.kth.se> @@ -32,24 +32,21 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: yppush_svc.c,v 1.3 2000/06/28 23:58:24 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: yppush_svc.c,v 1.4 2000/10/12 09:47:28 deraadt Exp $"; #endif /* not lint */ #include "yppush.h" + +#include <sys/types.h> +#include <sys/ttycom.h> +#include <sys/socket.h> +#include <netinet/in.h> #include <stdio.h> -#include <stdlib.h>/* getenv, exit */ +#include <stdlib.h> #include <netdb.h> #include <signal.h> -#include <sys/ttycom.h>/* TIOCNOTTY */ #include <memory.h> -#include <sys/socket.h> -#include <netinet/in.h> -#ifdef SYSLOG #include <syslog.h> -#else -#define LOG_ERR 1 -#define openlog(a, b, c) -#endif #ifdef __STDC__ #define SIG_PF void(*)(int) |