]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - hunt/huntd/hunt.h
Reduce ifdefs by making a common function to talk to either syslogd or
[bsdgames-darwin.git] / hunt / huntd / hunt.h
index 71c33adbe2e8510a29282946a4e5ee17e09ecf16..b94cdc20b572a21bba1169b4d79caceba4ff6d30 100644 (file)
@@ -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.
 #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);