summaryrefslogtreecommitdiff
path: root/src/string/strrchr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string/strrchr.c')
-rw-r--r--src/string/strrchr.c3
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).