-
Incident report
-
Resolution: Fixed
-
Trivial
-
3.0.0alpha4
-
trunk r56797, gcc 4.8.1
similar to ZBX-9814
stats.c: In function 'init_collector_data': stats.c:196:2: warning: call to function 'zbx_procstat_init' without a real prototype [-Wunprototyped-calls] zbx_procstat_init(&collector->procstat); ^ In file included from stats.h:38:0, from stats.c:21: procstat.h:49:6: note: 'zbx_procstat_init' was declared here void zbx_procstat_init(); ^ stats.c: In function 'free_collector_data': stats.c:232:2: warning: call to function 'zbx_procstat_destroy' without a real prototype [-Wunprototyped-calls] zbx_procstat_destroy(&collector->procstat); ^ In file included from stats.h:38:0, from stats.c:21: procstat.h:50:6: note: 'zbx_procstat_destroy' was declared here void zbx_procstat_destroy(); ^ stats.c: In function 'init_collector_data': stats.c:196:2: warning: call to function 'zbx_procstat_init' without a real prototype [-Wunprototyped-calls] zbx_procstat_init(&collector->procstat); ^ In file included from stats.h:38:0, from stats.c:21: procstat.h:49:6: note: 'zbx_procstat_init' was declared here void zbx_procstat_init(); ^ stats.c: In function 'free_collector_data': stats.c:232:2: warning: call to function 'zbx_procstat_destroy' without a real prototype [-Wunprototyped-calls] zbx_procstat_destroy(&collector->procstat); ^ In file included from stats.h:38:0, from stats.c:21: procstat.h:50:6: note: 'zbx_procstat_destroy' was declared here void zbx_procstat_destroy(); ^
it also looks like stats.c is compiled twice - once for agent, once for agentd. we might want to ignore that until agent is removed for 3.2