aboutsummaryrefslogtreecommitdiffstats
path: root/include/err.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/err.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/err.h')
-rw-r--r--include/err.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/err.h b/include/err.h
index 432d1af..9c28533 100644
--- a/include/err.h
+++ b/include/err.h
@@ -39,7 +39,7 @@
* @param format Formatting-string for the warning.
* @param ... Formatting-arguments.
*/
-void warn(const char* format, ...)
+void warn(const char*, ...)
__GCC_ONLY(__attribute__((format(printf, 1, 2))));
/**
@@ -51,7 +51,7 @@ void warn(const char* format, ...)
* @param format Formatting-string for the warning.
* @param args Formatting-arguments.
*/
-void vwarn(const char* format, va_list args);
+void vwarn(const char*, va_list);
/**
* Print a warning to stderr, but do not print a
@@ -62,7 +62,7 @@ void vwarn(const char* format, va_list args);
* @param format Formatting-string for the warning.
* @param ... Formatting-arguments.
*/
-void warnx(const char* format, ...)
+void warnx(const char*, ...)
__GCC_ONLY(__attribute__((format(printf, 1, 2))));
/**
@@ -74,7 +74,7 @@ void warnx(const char* format, ...)
* @param format Formatting-string for the warning.
* @param args Formatting-arguments.
*/
-void vwarnx(const char* format, va_list args);
+void vwarnx(const char*, va_list);
/**
* Print an error message to stderr, followed by a
@@ -86,7 +86,7 @@ void vwarnx(const char* format, va_list args);
* @param format Formatting-string for the warning.
* @param ... Formatting-arguments.
*/
-void err(int status, const char* format, ...)
+void err(int, const char*, ...)
__noreturn __GCC_ONLY(__attribute__((format(printf, 2, 3))));
/**
@@ -99,7 +99,7 @@ void err(int status, const char* format, ...)
* @param format Formatting-string for the warning.
* @param args Formatting-arguments.
*/
-void verr(int status, const char* format, va_list args) __noreturn;
+void verr(int, const char*, va_list) __noreturn;
/**
* Print an error message to stderr, but do not print a
@@ -111,7 +111,7 @@ void verr(int status, const char* format, va_list args) __noreturn;
* @param format Formatting-string for the warning.
* @param ... Formatting-arguments.
*/
-void errx(int status, const char* format, ...)
+void errx(int, const char*, ...)
__noreturn __GCC_ONLY(__attribute__((format(printf, 2, 3))));
/**
@@ -124,7 +124,7 @@ void errx(int status, const char* format, ...)
* @param format Formatting-string for the warning.
* @param args Formatting-arguments.
*/
-void verrx(int status, const char* format, va_list args) __noreturn;
+void verrx(int, const char*, va_list) __noreturn;