diff options
| author | TazyFoundSoup <gardendistrict0x0@outlook.com> | 2026-02-22 15:50:31 +1100 |
|---|---|---|
| committer | TazyFoundSoup <gardendistrict0x0@outlook.com> | 2026-02-22 15:50:31 +1100 |
| commit | 34ff5eda1200749e3c7eb5bbe609596928539cd2 (patch) | |
| tree | dd0f4c0f2270ab236ee9838a52987f5cde3acf74 /include/tinyff/dbg.h | |
| parent | f26533e666945befedcdc71952a5a3fca1c4c666 (diff) | |
fix(dbg): resolve debug globals linkage
Diffstat (limited to 'include/tinyff/dbg.h')
| -rw-r--r-- | include/tinyff/dbg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tinyff/dbg.h b/include/tinyff/dbg.h index d109534..be5e04e 100644 --- a/include/tinyff/dbg.h +++ b/include/tinyff/dbg.h @@ -15,11 +15,11 @@ #include <tinyff/result.h> #include <tinyff/common.h> -static FILE *intff_debug_stream = NULL; +extern FILE *intff_debug_stream; // This flag is the same name as FF_DEBUG_ENABLED but is local to this file // Thats why it has the int prefix -static ff_flag intff_debug_enabled = 0; +extern ff_flag intff_debug_enabled; // Sets the debug stream. If stream is NULL, debug is disabled. ff_result ff_set_debug_stream(FILE *stream); |
