diff options
author | Jakob Kaivo <jkk@ung.org> | 2024-01-31 00:00:11 -0500 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2024-01-31 00:00:11 -0500 |
commit | f10737a4ee4a818acdc28fa2e32c85a74f47eb5c (patch) | |
tree | ef6999fa663f3e6f6e6137ab6218ff68ff197dd3 /src/string/strrchr.c | |
parent | 9222a64f2e86db0d94b977d79c274d1d07003b0a (diff) |
update to 1:1 checked functions
Diffstat (limited to 'src/string/strrchr.c')
-rw-r--r-- | src/string/strrchr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/string/strrchr.c b/src/string/strrchr.c index d7c50e31..c7172590 100644 --- a/src/string/strrchr.c +++ b/src/string/strrchr.c @@ -1,6 +1,5 @@ #include <string.h> #include "_safety.h" -#undef strrchr /** search string from end **/ @@ -24,6 +23,8 @@ char * strrchr(const char *s, int c) return NULL; } +CHECK_2(char *, 0, strrchr, const char *, int) + /*** finds the last occurence of ARGUMENT(c) (converted to TYPE(char)) in the string ARGUMENT(s). |