]> arthur.barton.de Git - netdata.git/commitdiff
fixes for enabling clion debugging
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Sun, 16 Oct 2016 14:18:30 +0000 (17:18 +0300)
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Sun, 16 Oct 2016 14:18:30 +0000 (17:18 +0300)
CMakeLists.txt
src/rrd2json.c
src/web_client.c

index e973f6ebec54cf96bb4f868b88dc5bff92f5606c..9c4aa760729de421d1a1887ff4a66ffbd94b8a9b 100755 (executable)
@@ -20,8 +20,12 @@ set(NETDATA_SOURCE_FILES
         src/daemon.h
         src/dictionary.c
         src/dictionary.h
+        src/eval.c
+        src/eval.h
         src/global_statistics.c
         src/global_statistics.h
+        src/health.c
+        src/health.h
         src/log.c
         src/log.h
         src/main.c
@@ -53,9 +57,9 @@ set(NETDATA_SOURCE_FILES
         src/proc_net_rpc_nfsd.c
         src/proc_net_snmp6.c
         src/proc_net_snmp.c
+        src/proc_net_softnet_stat.c
         src/proc_net_stat_conntrack.c
         src/proc_net_stat_synproxy.c
-        src/proc_net_softnet_stat.c
         src/proc_self_mountinfo.c
         src/proc_self_mountinfo.h
         src/proc_softirqs.c
@@ -70,8 +74,8 @@ set(NETDATA_SOURCE_FILES
         src/rrd.h
         src/storage_number.c
         src/storage_number.h
-        src/sys_kernel_mm_ksm.c
         src/sys_fs_cgroup.c
+        src/sys_kernel_mm_ksm.c
         src/unit_test.c
         src/unit_test.h
         src/url.c
@@ -84,7 +88,7 @@ set(NETDATA_SOURCE_FILES
         src/web_client.h
         src/web_server.c
         src/web_server.h
-        config.h src/health.h src/health.c src/eval.h src/eval.c)
+)
 
 set(APPS_PLUGIN_SOURCE_FILES
         src/appconfig.c
index 474b5915db753f3becf23798bdf789d868249206..b2c1a05583ab535f4ed22a7164ad164e4e913c3b 100644 (file)
@@ -1158,7 +1158,7 @@ inline static void rrdr_free(RRDR *r)
     freez(r);
 }
 
-inline void rrdr_done(RRDR *r)
+static inline void rrdr_done(RRDR *r)
 {
     r->rows = r->c + 1;
     r->c = 0;
index 2485f20565fd6252f5dcd3c660a67477ff6b601a..c16acfa00e88b8631d3dfe82c7a609d03fbdc3f5 100644 (file)
@@ -14,7 +14,7 @@ int web_enable_gzip = 1, web_gzip_level = 3, web_gzip_strategy = Z_DEFAULT_STRAT
 struct web_client *web_clients = NULL;
 unsigned long long web_clients_count = 0;
 
-inline int web_client_crock_socket(struct web_client *w) {
+static inline int web_client_crock_socket(struct web_client *w) {
 #ifdef TCP_CORK
     if(likely(!w->tcp_cork && w->ofd != -1)) {
         w->tcp_cork = 1;
@@ -29,7 +29,7 @@ inline int web_client_crock_socket(struct web_client *w) {
     return 0;
 }
 
-inline int web_client_uncrock_socket(struct web_client *w) {
+static inline int web_client_uncrock_socket(struct web_client *w) {
 #ifdef TCP_CORK
     if(likely(w->tcp_cork && w->ofd != -1)) {
         w->tcp_cork = 0;