summaryrefslogtreecommitdiffstats
path: root/daemon
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 /daemon
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 'daemon')
-rw-r--r--daemon/common.c2
-rw-r--r--daemon/common.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/daemon/common.c b/daemon/common.c
index e28f6cf000..67497a4e93 100644
--- a/daemon/common.c
+++ b/daemon/common.c
@@ -13,4 +13,4 @@ char *netdata_configured_varlib_dir = VARLIB_DIR;
char *netdata_configured_home_dir = CACHE_DIR;
char *netdata_configured_host_prefix = NULL;
char *netdata_configured_timezone = NULL;
-
+int netdata_ready;
diff --git a/daemon/common.h b/daemon/common.h
index 6ac3cb3c87..59dbc41a8d 100644
--- a/daemon/common.h
+++ b/daemon/common.h
@@ -84,6 +84,6 @@ extern char *netdata_configured_timezone;
extern int netdata_zero_metrics_enabled;
extern int netdata_anonymous_statistics_enabled;
-int netdata_ready;
+extern int netdata_ready;
#endif /* NETDATA_COMMON_H */