put g_verbosity in static (#191)

This commit is contained in:
coco875
2025-08-09 18:00:03 -06:00
committed by GitHub
parent a7c7719396
commit 922f810fcf
2 changed files with 1 additions and 4 deletions
-3
View File
@@ -16,9 +16,6 @@
#include "utils.h"
// global verbosity setting
int g_verbosity = 0;
int read_s16_be(unsigned char *buf)
{
unsigned tmp = read_u16_be(buf);
+1 -1
View File
@@ -69,7 +69,7 @@ typedef struct
} dir_list;
// global verbosity setting
extern int g_verbosity;
static int g_verbosity = 0;
#undef ERROR
#define ERROR(...) fprintf(stderr, __VA_ARGS__)