summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtpctl.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/smtpctl.c
parente5f94eb9c332c6d95c6a4484fbb382690534256b (diff)
add required headers for smtpd.h and remove unnecessary ones in other files.
ok jung@
Diffstat (limited to 'usr.sbin/smtpd/smtpctl.c')
-rw-r--r--usr.sbin/smtpd/smtpctl.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/usr.sbin/smtpd/smtpctl.c b/usr.sbin/smtpd/smtpctl.c
index 5f4ded4858b..3d5926efdad 100644
--- a/usr.sbin/smtpd/smtpctl.c
+++ b/usr.sbin/smtpd/smtpctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpctl.c,v 1.168 2021/05/26 18:08:55 eric Exp $ */
+/* $OpenBSD: smtpctl.c,v 1.169 2021/06/14 17:58:16 eric Exp $ */
/*
* Copyright (c) 2013 Eric Faurot <eric@openbsd.org>
@@ -21,30 +21,19 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <sys/types.h>
-#include <sys/socket.h>
-#include <sys/queue.h>
-#include <sys/tree.h>
#include <sys/un.h>
-#include <sys/wait.h>
#include <sys/stat.h>
#include <err.h>
#include <errno.h>
-#include <event.h>
#include <fts.h>
-#include <grp.h>
-#include <imsg.h>
#include <inttypes.h>
#include <pwd.h>
-#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <syslog.h>
-#include <time.h>
#include <unistd.h>
#include <vis.h>
-#include <limits.h>
#include "smtpd.h"
#include "parser.h"