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
|
||||
static FILE *debug_fp = NULL;
|
||||
|
||||
void dputs(const char *buf)
|
||||
static void dputs(const char *buf)
|
||||
{
|
||||
if (!debug_fp) {
|
||||
debug_fp = fopen("debug.log", "w");
|
||||
|
Reference in New Issue
Block a user