summaryrefslogtreecommitdiffstats
path: root/hunt/huntd/hunt.h
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2014-03-29 22:29:55 +0000
committerdholland <dholland@NetBSD.org>2014-03-29 22:29:55 +0000
commit01c156137af771211dcc8c7bedbe4121c12f22b8 (patch)
treea35c47e5d06a59a4ece1e325c567ade712583388 /hunt/huntd/hunt.h
parent18db53a64319b86ed429e171bc3a52f4b3bc74f2 (diff)
downloadbsdgames-darwin-01c156137af771211dcc8c7bedbe4121c12f22b8.tar.gz
bsdgames-darwin-01c156137af771211dcc8c7bedbe4121c12f22b8.tar.zst
bsdgames-darwin-01c156137af771211dcc8c7bedbe4121c12f22b8.zip
Reduce ifdefs by making a common function to talk to either syslogd or
stderr.
Diffstat (limited to 'hunt/huntd/hunt.h')
-rw-r--r--hunt/huntd/hunt.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/hunt/huntd/hunt.h b/hunt/huntd/hunt.h
index 71c33adb..b94cdc20 100644
--- a/hunt/huntd/hunt.h
+++ b/hunt/huntd/hunt.h
@@ -1,4 +1,4 @@
-/* $NetBSD: hunt.h,v 1.26 2014/03/29 21:55:59 dholland Exp $ */
+/* $NetBSD: hunt.h,v 1.27 2014/03/29 22:29:55 dholland Exp $ */
/*
* Copyright (c) 1983-2003, Regents of the University of California.
@@ -34,10 +34,7 @@
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
-
-#ifdef LOG
#include <syslog.h>
-#endif
#include <sys/ioctl.h>
#include <sys/types.h>
@@ -209,6 +206,9 @@ bool opposite(int, char);
BULLET *is_bullet(int, int);
void fixshots(int, int, char);
+/* in support.c */
+__printflike(2, 3) void complain(int level, const char *fmt, ...);
+
/* in terminal.c */
void cgoto(PLAYER *, int, int);
void outch(PLAYER *, int);