Turbostat plugin: refactor function declarations
authorVincent Brillault <git@lerya.net>
Fri, 20 Jun 2014 08:30:09 +0000 (10:30 +0200)
committerVincent Brillault <git@lerya.net>
Sat, 28 Feb 2015 06:35:40 +0000 (07:35 +0100)
commiteb97e2374085c0045dec15db8cb484fa2bbbd9d2
tree8111b1578480af9395fe583c8bfdba3e032e4239
parent4f79fc14cfa00e5b96447802c1926ed4ec942271
Turbostat plugin: refactor function declarations

- Remove horrible STATIC_MUST_CHECK macro
- Define __must_check __attribute__((warn_unused_result))
- Refactor function declaration: type only on first line
src/turbostat.c