amanda/amanda-missing-extern.patch
Petr Šabata 6812403bf9 RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/amanda#10289d7db32e16b62259537a3af7ba8348583718
2020-10-14 21:36:00 +02:00

14 lines
435 B
Diff

diff --git a/common-src/testutils.h b/common-src/testutils.h
index 31f89737..2e9bb0b3 100644
--- a/common-src/testutils.h
+++ b/common-src/testutils.h
@@ -75,7 +75,7 @@ typedef struct TestUtilsTest {
#define tu_dbg(...) if (tu_debugging_enabled) { g_fprintf(stderr, __VA_ARGS__); }
/* Is debugging enabled for this test run? (set internally) */
-int tu_debugging_enabled;
+extern gboolean tu_debugging_enabled;
/*
* Main loop