diff options
| author | coco875 <59367621+coco875@users.noreply.github.com> | 2025-08-10 02:00:03 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-09 18:00:03 -0600 |
| commit | 922f810fcffeed32a09e9f15e0f9a61afa19b6be (patch) | |
| tree | d9587fa02c3a646062e46703218db748d29ca9a9 /lib | |
| parent | a7c771939617ba3e08588be3bee636df8b1da85d (diff) | |
put g_verbosity in static (#191)
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libmio0/utils.c | 3 | ||||
| -rw-r--r-- | lib/libmio0/utils.h | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/lib/libmio0/utils.c b/lib/libmio0/utils.c index 9ffa3c0..4ab3dc1 100644 --- a/lib/libmio0/utils.c +++ b/lib/libmio0/utils.c @@ -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); diff --git a/lib/libmio0/utils.h b/lib/libmio0/utils.h index 5576301..1004417 100644 --- a/lib/libmio0/utils.h +++ b/lib/libmio0/utils.h @@ -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__) |
