From 82d42178708c6108bb6c1649bd4bb11cbf0507e1 Mon Sep 17 00:00:00 2001 From: dholland Date: Thu, 4 Jun 2009 06:27:47 +0000 Subject: Make a couple of the logging/printing functions printf-alikes. This removes most of the calls to sprintf. --- gomoku/gomoku.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gomoku/gomoku.h') 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); -- cgit v1.2.3-56-ge451