X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fprocesses.c;h=cfc5790099cf957aef9ae6ec7d182d005694fd32;hb=a396da422740caf336a6d594515e8d80de6f440a;hp=2a4ce1f7ad9ad2312d58cc357ef7345c5f0241a7;hpb=6e41c3b1f024d7944e5e8010a87933555c662474;p=collectd.git diff --git a/src/processes.c b/src/processes.c index 2a4ce1f7..cfc57900 100644 --- a/src/processes.c +++ b/src/processes.c @@ -293,7 +293,7 @@ typedef struct procstat { struct procstat_entry_s *instances; } procstat_t; -static procstat_t *list_head_g = NULL; +static procstat_t *list_head_g; static bool want_init = true; static bool report_ctx_switch; @@ -334,7 +334,7 @@ int getargs(void *processBuffer, int bufferLen, char *argsBuffer, int argsLen); #endif /* HAVE_PROCINFO_H */ #if HAVE_LIBTASKSTATS -static ts_t *taskstats_handle = NULL; +static ts_t *taskstats_handle; #endif /* put name of process from config to list_head_g tree