Blob Blame History Raw
diff -up sblim-smis-hba-1.0.0/src/Linux_Common.c.orig sblim-smis-hba-1.0.0/src/Linux_Common.c
--- sblim-smis-hba-1.0.0/src/Linux_Common.c.orig	2009-09-01 15:22:40.000000000 +0200
+++ sblim-smis-hba-1.0.0/src/Linux_Common.c	2020-02-12 14:01:03.858693074 +0100
@@ -48,7 +48,7 @@ time_t CIM_OS_BOOTTIME        = 0;
 
 /* ---------------------------------------------------------------------------*/
 
-extern int    _debug;
+int    _debug;
 char * _LINUX_PROVIDER_TRACE_FILE = NULL;
 static int raw_run_command(const char *cmd, char **in, char ***out, char ***err, int have_line);
 
diff -up sblim-smis-hba-1.0.0/src/Linux_Common.h.orig sblim-smis-hba-1.0.0/src/Linux_Common.h
--- sblim-smis-hba-1.0.0/src/Linux_Common.h.orig	2009-09-01 15:22:39.000000000 +0200
+++ sblim-smis-hba-1.0.0/src/Linux_Common.h	2020-02-12 14:00:31.633624407 +0100
@@ -36,7 +36,7 @@ extern "C" {
 #define FALSE 0
 #define TRUE  1
 /* ---------------------------------------------------------------------------*/
-int _debug;
+extern int _debug;
 
 //extern char * CIM_HOST_NAME;
 extern char * CIM_OS_NAME;
diff -up sblim-smis-hba-1.0.0/src/OSBase_Common.h.orig sblim-smis-hba-1.0.0/src/OSBase_Common.h
--- sblim-smis-hba-1.0.0/src/OSBase_Common.h.orig	2009-09-01 15:22:40.000000000 +0200
+++ sblim-smis-hba-1.0.0/src/OSBase_Common.h	2020-02-17 11:44:21.419375844 +0100
@@ -38,7 +38,7 @@ extern "C" {
 
 /* ---------------------------------------------------------------------------*/
 
-int _debug;
+extern int _debug;
 
 extern char * CIM_HOST_NAME;
 extern char * CIM_OS_NAME;