summaryrefslogtreecommitdiffstats
path: root/health
diff options
context:
space:
mode:
authorthiagoftsm <thiagoftsm@gmail.com>2020-01-28 15:27:12 +0000
committerGitHub <noreply@github.com>2020-01-28 15:27:12 +0000
commit93631017d868d8d432124e18c96bbe6dcba4bce0 (patch)
tree91c1b5aae514224d192c0fabe6a086c46c54a596 /health
parentfa92c1e3b4990d76a87bb6d85297c954b667f397 (diff)
Missing extern (#7877)
* missing_extern: Fix missing Fix few externs that were missing in global variables * missing_extern: Variables This commit declares the variables inside .c files
Diffstat (limited to 'health')
-rw-r--r--health/health.c1
-rw-r--r--health/health.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/health/health.c b/health/health.c
index 1124cf9107..4a84ef7fca 100644
--- a/health/health.c
+++ b/health/health.c
@@ -9,6 +9,7 @@ struct health_cmdapi_thread_status {
};
unsigned int default_health_enabled = 1;
+char *silencers_filename;
// ----------------------------------------------------------------------------
// health initialization
diff --git a/health/health.h b/health/health.h
index 9da90d70c9..d77318fd78 100644
--- a/health/health.h
+++ b/health/health.h
@@ -52,7 +52,7 @@ extern unsigned int default_health_enabled;
#define HEALTH_SILENCERS_MAX_FILE_LEN 10000
-char *silencers_filename;
+extern char *silencers_filename;
extern void health_init(void);
extern void *health_main(void *ptr);