turbostat plugin: fix two compiler warnings
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Wed, 20 Feb 2019 10:22:30 +0000 (11:22 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Wed, 20 Feb 2019 10:22:30 +0000 (11:22 +0100)
commit739813753477497221e237d142993a90234806ec
treec0a96f689d59a5b46159d288270590e1e33120ea
parent587c9126c2cb5031ed1266651d26f6d704f509d5
turbostat plugin: fix two compiler warnings

src/turbostat.c:1466:5: warning: no previous prototype for function 'save_affinity' [-Wmissing-prototypes]
int save_affinity(void) {
    ^
src/turbostat.c:1479:6: warning: no previous prototype for function 'restore_affinity' [-Wmissing-prototypes]
void restore_affinity(void) {
     ^
src/turbostat.c