diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-10-13 19:16:45 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-10-13 19:16:45 +0200 |
commit | bba4e7e72ddf3cb1c9568622191ad3968c8cf970 (patch) | |
tree | 5b1420ea3aac5138f73fcdc3624d8e978fd5dacb | |
parent | typo (diff) | |
download | slibc-bba4e7e72ddf3cb1c9568622191ad3968c8cf970.tar.gz slibc-bba4e7e72ddf3cb1c9568622191ad3968c8cf970.tar.bz2 slibc-bba4e7e72ddf3cb1c9568622191ad3968c8cf970.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r-- | include/slibc-error.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/slibc-error.h b/include/slibc-error.h index e47f333..8fc26bc 100644 --- a/include/slibc-error.h +++ b/include/slibc-error.h @@ -22,9 +22,6 @@ #ifndef __PORTABLE -#define __NEED_va_list -#include <bits/types.h> - #include <errno.h> @@ -225,7 +222,7 @@ int* __slibc_error_line(void) __GCC_ONLY(__attribute__((const))); /* TODO not im * @param ... Formatting-arguments for `format`. */ void slibc_perror(const char*, const char*, int, const char*, int*, const char*, const char*, ...) - __GCC_ONLY(__attribute__((nonnull(2, 4), format(printf, 7, 8)))); + __GCC_ONLY(__attribute__((nonnull(2, 4), format(slibc_printf, 7, 8)))); |