aboutsummaryrefslogtreecommitdiffstats
path: root/include/slibc-error.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-08-30 03:47:48 +0200
committerMattias Andrée <maandree@operamail.com>2015-08-30 03:47:48 +0200
commit38ffb52f8e5a7e4e1588f816e9b7cc525dfc95b1 (patch)
tree9e0c3b2848bf719261e6f77b1b6dedaed552ea47 /include/slibc-error.h
parentadd slibc-error.h (diff)
downloadslibc-38ffb52f8e5a7e4e1588f816e9b7cc525dfc95b1.tar.gz
slibc-38ffb52f8e5a7e4e1588f816e9b7cc525dfc95b1.tar.bz2
slibc-38ffb52f8e5a7e4e1588f816e9b7cc525dfc95b1.tar.xz
remove parameter names from header files to avoid potential errors on inclusion caused by conflictig macro names
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'include/slibc-error.h')
-rw-r--r--include/slibc-error.h3
1 files changed, 1 insertions, 2 deletions
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))));