aboutsummaryrefslogtreecommitdiff
path: root/nxcompshad/src/Logger.h
diff options
context:
space:
mode:
Diffstat (limited to 'nxcompshad/src/Logger.h')
-rw-r--r--nxcompshad/src/Logger.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/nxcompshad/src/Logger.h b/nxcompshad/src/Logger.h
index eba81f642..37b378cb2 100644
--- a/nxcompshad/src/Logger.h
+++ b/nxcompshad/src/Logger.h
@@ -43,17 +43,17 @@ class Logger
{
public:
- void user(const char *format, va_list arguments);
+ void user(const char *format, ...) __attribute__((format(gnu_printf, 2, 3)));
void error(const char *name, int error);
- void warning(const char *name, const char *format, va_list arguments);
+ void warning(const char *name, const char *format, ...) __attribute__((format(gnu_printf, 3, 4)));
- void test(const char *name, const char *format, va_list arguments);
+ void test(const char *name, const char *format, ...) __attribute__((format(gnu_printf, 3, 4)));
void trace(const char *name);
- void debug(const char *name, const char *format, va_list arguments);
+ void debug(const char *name, const char *format, ...) __attribute__((format(gnu_printf, 3, 4)));
void dump(const char *name, const char *data, int size);
};