summaryrefslogtreecommitdiffstats
path: root/libnetdata/health
diff options
context:
space:
mode:
authorvkalintiris <vasilis@netdata.cloud>2022-10-09 16:38:49 +0300
committerGitHub <noreply@github.com>2022-10-09 16:38:49 +0300
commitccfbdb5c3d253a391cab0561dfc8a524b93d2e7c (patch)
treecf5e43618e40801db736604e5c8d4c4e6c0f9f65 /libnetdata/health
parent284d5450ec938b667db9985aca6d3cd02b96487f (diff)
Remove extern from function declared in headers. (#13790)
By default functions are declared as extern in C/C++ headers. The goal of this PR is to reduce the wall of text that many headers have and, more importantly, to make the declaration of extern'd variables - of which we have many dispersed in various places - easily and quickly identifiable. Automatically generated with: $ git grep -l '^extern.*(' '**.h' | \ grep -v libjudy | \ grep -v 'sqlite3.h' | \ xargs sed -i -e 's/extern \(.*(.*$\)/\1/' This is a NFC.
Diffstat (limited to 'libnetdata/health')
-rw-r--r--libnetdata/health/health.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libnetdata/health/health.h b/libnetdata/health/health.h
index f7580edab2..6b8f9b3847 100644
--- a/libnetdata/health/health.h
+++ b/libnetdata/health/health.h
@@ -46,10 +46,10 @@ typedef struct silencers {
extern SILENCERS *silencers;
-extern SILENCER *create_silencer(void);
-extern int health_silencers_json_read_callback(JSON_ENTRY *e);
-extern void health_silencers_add(SILENCER *silencer);
-extern SILENCER * health_silencers_addparam(SILENCER *silencer, char *key, char *value);
-extern int health_initialize_global_silencers();
+SILENCER *create_silencer(void);
+int health_silencers_json_read_callback(JSON_ENTRY *e);
+void health_silencers_add(SILENCER *silencer);
+SILENCER * health_silencers_addparam(SILENCER *silencer, char *key, char *value);
+int health_initialize_global_silencers();
#endif