summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/lka.c
diff options
context:
space:
mode:
authorEric Faurot <eric@cvs.openbsd.org>2021-06-14 17:58:17 +0000
committerEric Faurot <eric@cvs.openbsd.org>2021-06-14 17:58:17 +0000
commit8de7ad015b77fe4ff551795e7ea643c458f627bc (patch)
treecf41ed9806c58b5c9b67449cd01d77a9191d811f /usr.sbin/smtpd/lka.c
parente5f94eb9c332c6d95c6a4484fbb382690534256b (diff)
add required headers for smtpd.h and remove unnecessary ones in other files.
ok jung@
Diffstat (limited to 'usr.sbin/smtpd/lka.c')
-rw-r--r--usr.sbin/smtpd/lka.c19
1 files changed, 1 insertions, 18 deletions
diff --git a/usr.sbin/smtpd/lka.c b/usr.sbin/smtpd/lka.c
index 58835b16ee2..764130d6078 100644
--- a/usr.sbin/smtpd/lka.c
+++ b/usr.sbin/smtpd/lka.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lka.c,v 1.246 2021/05/26 18:08:55 eric Exp $ */
+/* $OpenBSD: lka.c,v 1.247 2021/06/14 17:58:15 eric Exp $ */
/*
* Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -18,33 +18,16 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <sys/types.h>
-#include <sys/queue.h>
-#include <sys/tree.h>
-#include <sys/socket.h>
#include <sys/wait.h>
-#include <sys/uio.h>
-#include <netinet/in.h>
-
-#include <ctype.h>
#include <errno.h>
-#include <event.h>
-#include <imsg.h>
-#include <openssl/err.h>
-#include <openssl/ssl.h>
#include <pwd.h>
-#include <resolv.h>
-#include <limits.h>
#include <signal.h>
-#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
#include <unistd.h>
#include "smtpd.h"
#include "log.h"
-#include "ssl.h"
static void lka_imsg(struct mproc *, struct imsg *);
static void lka_shutdown(void);