From 01c156137af771211dcc8c7bedbe4121c12f22b8 Mon Sep 17 00:00:00 2001 From: dholland Date: Sat, 29 Mar 2014 22:29:55 +0000 Subject: Reduce ifdefs by making a common function to talk to either syslogd or stderr. --- hunt/huntd/hunt.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'hunt/huntd/hunt.h') 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 #include #include - -#ifdef LOG #include -#endif #include #include @@ -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); -- cgit v1.2.3-56-ge451