mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 16:05:44 -07:00
Add missing 'static' on dputs().
This fixes a build failure due to -Wmissing-prototypes if you build with -DDEBUGGING.
This commit is contained in:
2
gtk.c
2
gtk.c
@ -88,7 +88,7 @@
|
|||||||
#ifdef DEBUGGING
|
#ifdef DEBUGGING
|
||||||
static FILE *debug_fp = NULL;
|
static FILE *debug_fp = NULL;
|
||||||
|
|
||||||
void dputs(const char *buf)
|
static void dputs(const char *buf)
|
||||||
{
|
{
|
||||||
if (!debug_fp) {
|
if (!debug_fp) {
|
||||||
debug_fp = fopen("debug.log", "w");
|
debug_fp = fopen("debug.log", "w");
|
||||||
|
@ -73,7 +73,7 @@ static FILE *debug_fp = NULL;
|
|||||||
static HANDLE debug_hdl = INVALID_HANDLE_VALUE;
|
static HANDLE debug_hdl = INVALID_HANDLE_VALUE;
|
||||||
static int debug_got_console = 0;
|
static int debug_got_console = 0;
|
||||||
|
|
||||||
void dputs(char *buf)
|
static void dputs(char *buf)
|
||||||
{
|
{
|
||||||
/*DWORD dw;
|
/*DWORD dw;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user