cpupowerutils: helpers - ConfigStyle bugfixes

Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
This commit is contained in:
Dominik Brodowski
2011-04-19 20:16:05 +02:00
parent b510b54127
commit 2cd005cac6
9 changed files with 100 additions and 86 deletions

View File

@@ -20,7 +20,7 @@
#ifndef gettext_noop
#define gettext_noop(String) String
#endif
#define N_(String) gettext_noop (String)
#define N_(String) gettext_noop(String)
/* Internationalization ****************************/
extern int run_as_root;
@@ -39,11 +39,11 @@ extern int be_verbose;
#define dprint(fmt, ...) { \
if (be_verbose) { \
fprintf(stderr, "%s: " fmt, \
__FUNCTION__, ##__VA_ARGS__); \
__func__, ##__VA_ARGS__); \
} \
}
#else
static inline void dprint(const char *fmt, ...) { }
static inline void dprint(const char *fmt, ...) { }
#endif
extern int be_verbose;
/* Global verbose (-v) stuff *********************************/