gi-compile-repository: Make file-scoped variables static

This means the compiler will warn us if they become unused.

Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
Simon McVittie 2024-02-14 10:23:03 +00:00
parent 3f6de0706e
commit d40e1b9db3

View File

@ -40,13 +40,13 @@
#include "girnode-private.h"
#include "girparser-private.h"
gchar **includedirs = NULL;
gchar **input = NULL;
gchar *output = NULL;
gchar **shlibs = NULL;
gboolean debug = FALSE;
gboolean verbose = FALSE;
gboolean show_version = FALSE;
static gchar **includedirs = NULL;
static gchar **input = NULL;
static gchar *output = NULL;
static gchar **shlibs = NULL;
static gboolean debug = FALSE;
static gboolean verbose = FALSE;
static gboolean show_version = FALSE;
static gboolean
write_out_typelib (gchar *prefix,