summaryrefslogtreecommitdiffstats
path: root/gomoku/gomoku.h
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2009-06-04 06:27:47 +0000
committerdholland <dholland@NetBSD.org>2009-06-04 06:27:47 +0000
commit82d42178708c6108bb6c1649bd4bb11cbf0507e1 (patch)
tree523a2c62821b8a8017fe2afe88e1eb1e5b452402 /gomoku/gomoku.h
parent5e4f5ad1185f2b9b12094ee297575749f791ba17 (diff)
downloadbsdgames-darwin-82d42178708c6108bb6c1649bd4bb11cbf0507e1.tar.gz
bsdgames-darwin-82d42178708c6108bb6c1649bd4bb11cbf0507e1.tar.zst
bsdgames-darwin-82d42178708c6108bb6c1649bd4bb11cbf0507e1.zip
Make a couple of the logging/printing functions printf-alikes. This removes
most of the calls to sprintf.
Diffstat (limited to 'gomoku/gomoku.h')
-rw-r--r--gomoku/gomoku.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gomoku/gomoku.h b/gomoku/gomoku.h
index 4a9b4a1c..1f04ecf8 100644
--- a/gomoku/gomoku.h
+++ b/gomoku/gomoku.h
@@ -1,4 +1,4 @@
-/* $NetBSD: gomoku.h,v 1.12 2009/06/04 05:52:30 dholland Exp $ */
+/* $NetBSD: gomoku.h,v 1.13 2009/06/04 06:27:47 dholland Exp $ */
/*
* Copyright (c) 1994
@@ -272,9 +272,9 @@ void bdisp_init(void);
void cursfini(void);
void cursinit(void);
void bdwho(int);
-void panic(const char *) __dead;
-void glog(const char *);
-void dlog(const char *);
+void panic(const char *, ...) __printflike(1, 2) __dead;
+void misclog(const char *, ...) __printflike(1, 2);
+void debuglog(const char *, ...) __printflike(1, 2);
void quit(void) __dead;
void quitsig(int) __dead;
void whatsup(int);