From bba4e7e72ddf3cb1c9568622191ad3968c8cf970 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 13 Oct 2015 19:16:45 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- include/slibc-error.h | 5 +---- 1 file changed, 1 insertion(+), 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 - #include @@ -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)))); -- cgit v1.2.3-70-g09d2