]> arthur.barton.de Git - netdata.git/blobdiff - src/appconfig.h
Merge branch 'master' into ab-debian
[netdata.git] / src / appconfig.h
index cf41fb3fb17160b3a5e2978d7353033075c6911a..45cc8cfd5215d18303abbb407091a58998db3379 100644 (file)
@@ -4,7 +4,7 @@
 #define CONFIG_FILENAME "netdata.conf"
 
 #define CONFIG_SECTION_GLOBAL   "global"
-#define CONFIG_SECTION_API      "api"
+#define CONFIG_SECTION_WEB      "web"
 #define CONFIG_SECTION_PLUGINS  "plugins"
 #define CONFIG_SECTION_REGISTRY "registry"
 #define CONFIG_SECTION_HEALTH   "health"
@@ -18,7 +18,7 @@
 
 struct config {
     struct section *sections;
-    pthread_mutex_t mutex;
+    netdata_mutex_t mutex;
     avl_tree_lock index;
 };