diff options
| author | Jakob Kaivo <jkk@ung.org> | 2024-01-30 22:19:14 -0500 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2024-01-30 22:19:14 -0500 |
| commit | 2c7f07a77c02a1bf7293bc4cc80254b972f747f8 (patch) | |
| tree | a51e1ca9526b59ab2bf01518f7b6f988b63d3cee /src/inttypes/strtoimax.c | |
| parent | 1ded342f76187ed2dc5bc0c3523db430be9f8db7 (diff) | |
update to 1:1 checked calls
Diffstat (limited to 'src/inttypes/strtoimax.c')
| -rw-r--r-- | src/inttypes/strtoimax.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/inttypes/strtoimax.c b/src/inttypes/strtoimax.c index 4d66558b..2185f293 100644 --- a/src/inttypes/strtoimax.c +++ b/src/inttypes/strtoimax.c @@ -3,7 +3,6 @@ #include <errno.h> #include <inttypes.h> #include "_safety.h" -#undef strtoimax intmax_t strtoimax(const char * restrict nptr, char ** restrict endptr, int base) { @@ -18,6 +17,8 @@ intmax_t strtoimax(const char * restrict nptr, char ** restrict endptr, int base return ret; } +__check_3(intmax_t, 0, strtoimax, const char * restrict, char ** restrict, int) + /* STDC(199901) */ |
