From 0b5079b8723804889f06c6ddbeef8a45c00d7b49 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Wed, 12 Aug 2020 20:12:41 -0400 Subject: finish purging nonstd/ --- src/_assert.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/_assert.h') 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); \ } \ -- cgit v1.2.1