diff options
| author | Jakob Kaivo <jkk@ung.org> | 2020-08-12 20:12:41 -0400 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2020-08-12 20:12:41 -0400 |
| commit | 0b5079b8723804889f06c6ddbeef8a45c00d7b49 (patch) | |
| tree | d76b603c190b7e04529bff99e8085718b4c0a9a8 /src/_assert.h | |
| parent | 0f2704eb90ef2590c75633dc7eb695a63cf2ddf8 (diff) | |
finish purging nonstd/
Diffstat (limited to 'src/_assert.h')
| -rw-r--r-- | src/_assert.h | 8 |
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); \ } \ |
