diff options
author | 2014-03-29 22:29:55 +0000 | |
---|---|---|
committer | 2014-03-29 22:29:55 +0000 | |
commit | 01c156137af771211dcc8c7bedbe4121c12f22b8 (patch) | |
tree | a35c47e5d06a59a4ece1e325c567ade712583388 /hunt/huntd/hunt.h | |
parent | 18db53a64319b86ed429e171bc3a52f4b3bc74f2 (diff) | |
download | bsdgames-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.h | 8 |
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); |