fixes for enabling clion debugging
Costa Tsaousis (ktsaou) committed
Oct 16, 2016 at 17:18 UTC
32407ac72dad308aacef034873f08d67096396dd
3 files changed
+10
-6
CMakeLists.txt
+7
-3
@@ -20,8 +20,12 @@ set(NETDATA_SOURCE_FILES
20
src/daemon.h
21
src/dictionary.c
22
src/dictionary.h
23
+ src/eval.c
24
+ src/eval.h
25
src/global_statistics.c
26
src/global_statistics.h
27
+ src/health.c
28
+ src/health.h
29
src/log.c
30
src/log.h
31
src/main.c
@@ -53,9 +57,9 @@ set(NETDATA_SOURCE_FILES
57
src/proc_net_rpc_nfsd.c
58
src/proc_net_snmp6.c
59
src/proc_net_snmp.c
60
+ src/proc_net_softnet_stat.c
61
src/proc_net_stat_conntrack.c
62
src/proc_net_stat_synproxy.c
58
- src/proc_net_softnet_stat.c
63
src/proc_self_mountinfo.c
64
src/proc_self_mountinfo.h
65
src/proc_softirqs.c
@@ -70,8 +74,8 @@ set(NETDATA_SOURCE_FILES
74
src/rrd.h
75
src/storage_number.c
76
src/storage_number.h
73
- src/sys_kernel_mm_ksm.c
77
src/sys_fs_cgroup.c
78
+ src/sys_kernel_mm_ksm.c
79
src/unit_test.c
80
src/unit_test.h
81
src/url.c
@@ -84,7 +88,7 @@ set(NETDATA_SOURCE_FILES
88
src/web_client.h
89
src/web_server.c
90
src/web_server.h
87
- config.h src/health.h src/health.c src/eval.h src/eval.c)
91
+)
92
93
set(APPS_PLUGIN_SOURCE_FILES
94
src/appconfig.c
src/rrd2json.c
+1
-1
@@ -1158,7 +1158,7 @@ inline static void rrdr_free(RRDR *r)
1158
freez(r);
1159
}
1160
1161
-inline void rrdr_done(RRDR *r)
1161
+static inline void rrdr_done(RRDR *r)
1162
{
1163
r->rows = r->c + 1;
1164
r->c = 0;
src/web_client.c
+2
-2
@@ -14,7 +14,7 @@ int web_enable_gzip = 1, web_gzip_level = 3, web_gzip_strategy = Z_DEFAULT_STRAT
14
struct web_client *web_clients = NULL;
15
unsigned long long web_clients_count = 0;
16
17
-inline int web_client_crock_socket(struct web_client *w) {
17
+static inline int web_client_crock_socket(struct web_client *w) {
18
#ifdef TCP_CORK
19
if(likely(!w->tcp_cork && w->ofd != -1)) {
20
w->tcp_cork = 1;
@@ -29,7 +29,7 @@ inline int web_client_crock_socket(struct web_client *w) {
29
return 0;
30
}
31
32
-inline int web_client_uncrock_socket(struct web_client *w) {
32
+static inline int web_client_uncrock_socket(struct web_client *w) {
33
#ifdef TCP_CORK
34
if(likely(w->tcp_cork && w->ofd != -1)) {
35
w->tcp_cork = 0;