aboutsummaryrefslogtreecommitdiff
path: root/nxcompshad
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-01-18 22:10:54 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-03-01 12:02:25 +0100
commit471342933b19bb0648d4f339be6e160545013f51 (patch)
tree0c8b183ef0d0a8838e10af3886dd3e46eb3b4612 /nxcompshad
parentd156ce5ab6afa3bc67189f4985e1517d5aca52b3 (diff)
downloadnx-libs-471342933b19bb0648d4f339be6e160545013f51.tar.gz
nx-libs-471342933b19bb0648d4f339be6e160545013f51.tar.bz2
nx-libs-471342933b19bb0648d4f339be6e160545013f51.zip
Fix: clang does not know about gnu_printf
Found via Travis CI
Diffstat (limited to 'nxcompshad')
-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 876cb0432..e0b9997d7 100644
--- a/nxcompshad/src/Logger.h
+++ b/nxcompshad/src/Logger.h
@@ -46,17 +46,17 @@ class Logger
{
public:
- void user(const char *format, ...) __attribute__((format(gnu_printf, 2, 3)));
+ void user(const char *format, ...) __attribute__((format(printf, 2, 3)));
void error(const char *name, int error);
- void warning(const char *name, const char *format, ...) __attribute__((format(gnu_printf, 3, 4)));
+ void warning(const char *name, const char *format, ...) __attribute__((format(printf, 3, 4)));
- void test(const char *name, const char *format, ...) __attribute__((format(gnu_printf, 3, 4)));
+ void test(const char *name, const char *format, ...) __attribute__((format(printf, 3, 4)));
void trace(const char *name);
- void debug(const char *name, const char *format, ...) __attribute__((format(gnu_printf, 3, 4)));
+ void debug(const char *name, const char *format, ...) __attribute__((format(printf, 3, 4)));
void dump(const char *name, const char *data, int size);
};