From 38ffb52f8e5a7e4e1588f816e9b7cc525dfc95b1 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 30 Aug 2015 03:47:48 +0200 Subject: remove parameter names from header files to avoid potential errors on inclusion caused by conflictig macro names 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 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/slibc-error.h') diff --git a/include/slibc-error.h b/include/slibc-error.h index c84faad..768ceef 100644 --- a/include/slibc-error.h +++ b/include/slibc-error.h @@ -222,8 +222,7 @@ int* __slibc_error_line(void) __GCC_ONLY(__attribute__((__const__))); /* TODO no * no description other than the location and `error_string` should be printed. * @param ... Formatting-arguments for `format`. */ -void slibc_perror(const char* progname, const char* filename, int linenum, const char* function, - int* error_code, const char* error_string, const char* 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)))); -- cgit v1.2.3-70-g09d2