aboutsummaryrefslogtreecommitdiffstats
path: root/include/error.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-10-12 00:00:00 +0200
committerMattias Andrée <maandree@operamail.com>2015-10-12 00:00:00 +0200
commit7389b031ee054699e2df35cee82af1997321d7d7 (patch)
tree39e410b8a0b448c8294d35e8e3ebb0c0d8eb055d /include/error.h
parentadd zalloc (diff)
downloadslibc-7389b031ee054699e2df35cee82af1997321d7d7.tar.gz
slibc-7389b031ee054699e2df35cee82af1997321d7d7.tar.bz2
slibc-7389b031ee054699e2df35cee82af1997321d7d7.tar.xz
simplified feature-test macros
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--include/error.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/error.h b/include/error.h
index 0716530..8cce80c 100644
--- a/include/error.h
+++ b/include/error.h
@@ -60,7 +60,7 @@ void error(int, int, const char*, ...)
* @param format Formatting-string for a detailed description of what happend.
* @param args Formatting-arguments for `format`.
*/
-#if defined(_SLIBC_SOURCE)
+#if defined(__SLIBC_SOURCE)
void verror(int, int, const char*, va_list);
#endif
@@ -100,7 +100,7 @@ void error_at_line(int, int, const char*, unsigned int, const char*, ...)
* @param format Formatting-string for a detailed description of what happend.
* @param args Formatting-arguments for `format`.
*/
-#if defined(_SLIBC_SOURCE)
+#if defined(__SLIBC_SOURCE)
void verror_at_line(int, int, const char*, unsigned int, const char*, va_list);
#endif