mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 12:30:06 +00:00
string: Hook up the default implementation on test-memrchr
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
0dfa8617b5
commit
77a9e5c97e
@ -24,6 +24,13 @@ typedef char *(*proto_t) (const char *, int, size_t);
|
||||
|
||||
IMPL (memrchr, 1)
|
||||
|
||||
/* Also check the generic implementation. */
|
||||
#undef weak_alias
|
||||
#define weak_alias(a, b)
|
||||
#define MEMRCHR __memrchr_default
|
||||
#include "string/memrchr.c"
|
||||
IMPL (__memrchr_default, 1)
|
||||
|
||||
/* Naive implementation to verify results. */
|
||||
char *
|
||||
simple_memrchr (const char *s, int c, size_t n)
|
||||
|
Loading…
Reference in New Issue
Block a user