mirror of
https://github.com/izzy2lost/Torch.git
synced 2026-07-06 00:18:35 -07:00
put g_verbosity in static (#191)
This commit is contained in:
@@ -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
@@ -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__)
|
||||
|
||||
Reference in New Issue
Block a user