summaryrefslogtreecommitdiff
path: root/src/_assert.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/_assert.h')
-rw-r--r--src/_assert.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/_assert.h b/src/_assert.h
index 2d27edfb..9698f5a2 100644
--- a/src/_assert.h
+++ b/src/_assert.h
@@ -6,7 +6,7 @@
if (!__ptr) { \
struct __constraint_info _ci = {0}; \
_ci.func = __func__; \
- __libc.stdlib.constraint_handler("Undefined behavior: " \
+ __stdlib.constraint_handler("Undefined behavior: " \
"Parameter " #__ptr " can not be NULL", &_ci, EFAULT); \
} \
} while (0)
@@ -15,7 +15,7 @@
if (!__n) { \
struct __constraint_info _ci = {0}; \
_ci.func = __func__; \
- __libc.stdlib.constraint_handler("Undefined behavior: " \
+ __stdlib.constraint_handler("Undefined behavior: " \
"Parameter " #__n " can not be 0", &_ci, ERANGE); \
} \
} while (0)
@@ -28,13 +28,13 @@
if (_sentinel && (_n != _sentinel && (_n < _min || _n > _max))) { \
struct __constraint_info _ci = {0}; \
_ci.func = __func__; \
- __libc.stdlib.constraint_handler("Undefined behavior: " \
+ __stdlib.constraint_handler("Undefined behavior: " \
"Paramater " #_n " must be representable as a " #_type \
"or be equal to " #_sentinel, &_ci, ERANGE); \
} else if (_n < _min || _n > _max) { \
struct __constraint_info _ci = {0}; \
_ci.func = __func__; \
- __libc.stdlib.constraint_handler("Undefined behavior: " \
+ __stdlib.constraint_handler("Undefined behavior: " \
"Parameter " #_n " must be representable as a " #_type, \
&_ci, ERANGE); \
} \