diff options
author | dholland <dholland@NetBSD.org> | 2009-06-04 06:27:47 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2009-06-04 06:27:47 +0000 |
commit | 82d42178708c6108bb6c1649bd4bb11cbf0507e1 (patch) | |
tree | 523a2c62821b8a8017fe2afe88e1eb1e5b452402 /gomoku/gomoku.h | |
parent | 5e4f5ad1185f2b9b12094ee297575749f791ba17 (diff) | |
download | bsdgames-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.h | 8 |
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); |