summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjacekm <jacekm@openbsd.org>2008-12-06 14:30:51 +0000
committerjacekm <jacekm@openbsd.org>2008-12-06 14:30:51 +0000
commit7eb8d8063ec162c531216bfcb5aad911e8eb5c6f (patch)
tree037d29a7621f2fe8587140b889c398c1f26c3a47
parent- fix spelling and grammar, From Nicholas Marriott <nicm__@ntlworld.com> (diff)
downloadwireguard-openbsd-7eb8d8063ec162c531216bfcb5aad911e8eb5c6f.tar.xz
wireguard-openbsd-7eb8d8063ec162c531216bfcb5aad911e8eb5c6f.zip
Don't include <err.h> where log.c API must be used.
ok gilles@
-rw-r--r--usr.sbin/smtpd/forward.c3
-rw-r--r--usr.sbin/smtpd/map.c3
-rw-r--r--usr.sbin/smtpd/queue.c3
-rw-r--r--usr.sbin/smtpd/smtp_session.c3
-rw-r--r--usr.sbin/smtpd/store.c3
5 files changed, 5 insertions, 10 deletions
diff --git a/usr.sbin/smtpd/forward.c b/usr.sbin/smtpd/forward.c
index cca2b9d61b8..641b2e6e840 100644
--- a/usr.sbin/smtpd/forward.c
+++ b/usr.sbin/smtpd/forward.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: forward.c,v 1.4 2008/11/25 23:06:15 gilles Exp $ */
+/* $OpenBSD: forward.c,v 1.5 2008/12/06 14:30:51 jacekm Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -25,7 +25,6 @@
#include <ctype.h>
#include <db.h>
-#include <err.h>
#include <errno.h>
#include <event.h>
#include <fcntl.h>
diff --git a/usr.sbin/smtpd/map.c b/usr.sbin/smtpd/map.c
index 4afbbb0698f..9366d7a30d5 100644
--- a/usr.sbin/smtpd/map.c
+++ b/usr.sbin/smtpd/map.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: map.c,v 1.2 2008/11/05 12:14:45 sobrado Exp $ */
+/* $OpenBSD: map.c,v 1.3 2008/12/06 14:30:51 jacekm Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -24,7 +24,6 @@
#include <sys/wait.h>
#include <sys/stat.h>
-#include <err.h>
#include <errno.h>
#include <event.h>
#include <fcntl.h>
diff --git a/usr.sbin/smtpd/queue.c b/usr.sbin/smtpd/queue.c
index f3e4fc4422c..45d0c597c5b 100644
--- a/usr.sbin/smtpd/queue.c
+++ b/usr.sbin/smtpd/queue.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: queue.c,v 1.19 2008/12/05 02:51:32 gilles Exp $ */
+/* $OpenBSD: queue.c,v 1.20 2008/12/06 14:30:51 jacekm Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -29,7 +29,6 @@
#include <arpa/inet.h>
#include <dirent.h>
-#include <err.h>
#include <errno.h>
#include <event.h>
#include <fcntl.h>
diff --git a/usr.sbin/smtpd/smtp_session.c b/usr.sbin/smtpd/smtp_session.c
index b2bf0b72cad..7c4d5826786 100644
--- a/usr.sbin/smtpd/smtp_session.c
+++ b/usr.sbin/smtpd/smtp_session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtp_session.c,v 1.21 2008/12/06 04:49:52 jacekm Exp $ */
+/* $OpenBSD: smtp_session.c,v 1.22 2008/12/06 14:30:51 jacekm Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -27,7 +27,6 @@
#include <arpa/inet.h>
#include <ctype.h>
-#include <err.h>
#include <errno.h>
#include <event.h>
#include <pwd.h>
diff --git a/usr.sbin/smtpd/store.c b/usr.sbin/smtpd/store.c
index 5a514b7a256..a2dda136bf4 100644
--- a/usr.sbin/smtpd/store.c
+++ b/usr.sbin/smtpd/store.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: store.c,v 1.7 2008/12/06 14:24:15 gilles Exp $ */
+/* $OpenBSD: store.c,v 1.8 2008/12/06 14:30:51 jacekm Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -28,7 +28,6 @@
#include <arpa/inet.h>
#include <dirent.h>
-#include <err.h>
#include <errno.h>
#include <event.h>
#include <fcntl.h>