diff options
author | Mattias Andrée <maandree@kth.se> | 2022-06-12 19:26:00 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2022-06-12 19:26:00 +0200 |
commit | ca8c0059f3e86eb178733d7fa9a8b0ba20d9c2ca (patch) | |
tree | 838569a039cffafacd217a7bb889f12a20be62bd /test.c | |
parent | Replace to last static inline's with line + extern inline, and fix warnings (diff) | |
download | libsimple-ca8c0059f3e86eb178733d7fa9a8b0ba20d9c2ca.tar.gz libsimple-ca8c0059f3e86eb178733d7fa9a8b0ba20d9c2ca.tar.bz2 libsimple-ca8c0059f3e86eb178733d7fa9a8b0ba20d9c2ca.tar.xz |
Fix warnings
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | test.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -330,6 +330,9 @@ vfprintf(FILE *restrict stream, const char *restrict format, va_list ap) } +#if defined(__GNUC__) +__attribute__((__format__(__printf__, 2, 0))) +#endif int test_vfprintf(FILE *restrict stream, const char *restrict format, va_list ap) { |