diff options
Diffstat (limited to 'tools/power/cpupower/utils/helpers/helpers.h')
-rw-r--r-- | tools/power/cpupower/utils/helpers/helpers.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/power/cpupower/utils/helpers/helpers.h b/tools/power/cpupower/utils/helpers/helpers.h index a487dadb4cf0..048f065925c9 100644 --- a/tools/power/cpupower/utils/helpers/helpers.h +++ b/tools/power/cpupower/utils/helpers/helpers.h | |||
@@ -20,7 +20,7 @@ | |||
20 | #ifndef gettext_noop | 20 | #ifndef gettext_noop |
21 | #define gettext_noop(String) String | 21 | #define gettext_noop(String) String |
22 | #endif | 22 | #endif |
23 | #define N_(String) gettext_noop (String) | 23 | #define N_(String) gettext_noop(String) |
24 | /* Internationalization ****************************/ | 24 | /* Internationalization ****************************/ |
25 | 25 | ||
26 | extern int run_as_root; | 26 | extern int run_as_root; |
@@ -39,11 +39,11 @@ extern int be_verbose; | |||
39 | #define dprint(fmt, ...) { \ | 39 | #define dprint(fmt, ...) { \ |
40 | if (be_verbose) { \ | 40 | if (be_verbose) { \ |
41 | fprintf(stderr, "%s: " fmt, \ | 41 | fprintf(stderr, "%s: " fmt, \ |
42 | __FUNCTION__, ##__VA_ARGS__); \ | 42 | __func__, ##__VA_ARGS__); \ |
43 | } \ | 43 | } \ |
44 | } | 44 | } |
45 | #else | 45 | #else |
46 | static inline void dprint(const char *fmt, ...) { } | 46 | static inline void dprint(const char *fmt, ...) { } |
47 | #endif | 47 | #endif |
48 | extern int be_verbose; | 48 | extern int be_verbose; |
49 | /* Global verbose (-v) stuff *********************************/ | 49 | /* Global verbose (-v) stuff *********************************/ |