From 34ff5eda1200749e3c7eb5bbe609596928539cd2 Mon Sep 17 00:00:00 2001 From: TazyFoundSoup Date: Sun, 22 Feb 2026 15:50:31 +1100 Subject: fix(dbg): resolve debug globals linkage --- include/tinyff/dbg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/tinyff/dbg.h') 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 #include -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); -- cgit v1.2.3