return 0; // we return 0, so that we will retry to open it next time
uint32_t lines = procfile_lines(ff), l;
- uint32_t words = procfile_linewords(ff, 0), w;
+ uint32_t words = procfile_linewords(ff, 0);
if(unlikely(!lines)) {
error("Cannot read /proc/interrupts, zero lines reported.");
// find how many CPUs are there
if(unlikely(cpus == -1)) {
+ uint32_t w;
cpus = 0;
for(w = 0; w < words ; w++) {
if(unlikely(strncmp(procfile_lineword(ff, 0, w), "CPU", 3) == 0))