author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Thu, 3 Mar 2016 21:14:45 +0000 (22:14 +0100) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Thu, 3 Mar 2016 21:14:45 +0000 (22:14 +0100) | ||
commit | e9ab5139a3bf01f70fe0a0f01d85d027a551efb3 | |
tree | 709047b904e9ad630d59d18a9cbb43685d3b79bf | tree | snapshot |
parent | aedf67e69cbe93a6925fd1004a7c8b990aed4b0a | commit | diff |
Turbostat: fix shadowing issue
turbostat.c: In function ‘delta_thread’:
turbostat.c:460:26: error: declaration of ‘core_delta’ shadows a global
declaration [-Werror=shadow]
const struct core_data *core_delta)
^~~~~~~~~~
turbostat.c:163:4: note: shadowed declaration is here
} *core_delta, *core_even, *core_odd;
^~~~~~~~~~
turbostat.c: In function ‘delta_thread’:
turbostat.c:460:26: error: declaration of ‘core_delta’ shadows a global
declaration [-Werror=shadow]
const struct core_data *core_delta)
^~~~~~~~~~
turbostat.c:163:4: note: shadowed declaration is here
} *core_delta, *core_even, *core_odd;
^~~~~~~~~~
src/turbostat.c | diff | blob | history |