Add missing 'static' on dputs().

This fixes a build failure due to -Wmissing-prototypes if you build
with -DDEBUGGING.
This commit is contained in:
Simon Tatham
2023-03-10 18:02:02 +00:00
parent 01569005e3
commit 5b0efd8db2
2 changed files with 2 additions and 2 deletions

2
gtk.c
View File

@ -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");