[calls] log: Fix One Definition Rule



commit 7587efb78a41a78df5a27de5e709c646f1848c86
Author: Evangelos Ribeiro Tzaras <devrtz fortysixandtwo eu>
Date:   Thu Jan 27 16:47:43 2022 +0100

    log: Fix One Definition Rule
    
    As caught by running with enabled address sanitization.

 src/calls-log.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/calls-log.c b/src/calls-log.c
index 84ae839b..a2f6b4fd 100644
--- a/src/calls-log.c
+++ b/src/calls-log.c
@@ -19,10 +19,10 @@
 
 #define DEFAULT_DOMAIN_PREFIX "Calls"
 
-char *domains;
+static char *domains;
 static int verbosity;
-gboolean any_domain;
-gboolean stderr_is_journal;
+static gboolean any_domain;
+static gboolean stderr_is_journal;
 
 static void
 log_str_append_log_domain (GString    *log_str,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]