aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-10-13 19:16:45 +0200
committerMattias Andrée <maandree@operamail.com>2015-10-13 19:16:45 +0200
commitbba4e7e72ddf3cb1c9568622191ad3968c8cf970 (patch)
tree5b1420ea3aac5138f73fcdc3624d8e978fd5dacb
parenttypo (diff)
downloadslibc-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.h5
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))));