summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2015-01-20 03:14:52 +0000
committerguenther <guenther@openbsd.org>2015-01-20 03:14:52 +0000
commitc08555df62b96490795553c1e7ea63aa48429229 (patch)
treef0994dad801086ec7ffdaafba3b8f0d6fecc0f0f
parentAdd support for tracing libraries in static PIE binaries. rcrt does not (diff)
downloadwireguard-openbsd-c08555df62b96490795553c1e7ea63aa48429229.tar.xz
wireguard-openbsd-c08555df62b96490795553c1e7ea63aa48429229.zip
Move #include <syslog.h> to the one file that needs it
-rw-r--r--usr.bin/rdist/defs.h3
-rw-r--r--usr.bin/rdist/message.c3
2 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/rdist/defs.h b/usr.bin/rdist/defs.h
index 54099b986ac..73e63190002 100644
--- a/usr.bin/rdist/defs.h
+++ b/usr.bin/rdist/defs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: defs.h,v 1.32 2015/01/16 06:40:11 deraadt Exp $ */
+/* $OpenBSD: defs.h,v 1.33 2015/01/20 03:14:52 guenther Exp $ */
#ifndef __DEFS_H__
#define __DEFS_H__
@@ -52,7 +52,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <syslog.h>
#include <unistd.h>
#include <limits.h>
diff --git a/usr.bin/rdist/message.c b/usr.bin/rdist/message.c
index 5ce2f0e5259..1609f240d93 100644
--- a/usr.bin/rdist/message.c
+++ b/usr.bin/rdist/message.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: message.c,v 1.22 2015/01/16 06:40:11 deraadt Exp $ */
+/* $OpenBSD: message.c,v 1.23 2015/01/20 03:14:52 guenther Exp $ */
/*
* Copyright (c) 1983 Regents of the University of California.
@@ -29,6 +29,7 @@
* SUCH DAMAGE.
*/
+#include <syslog.h>
#include "defs.h"
/*