diff options
Diffstat (limited to 'util.h')
| -rw-r--r-- | util.h | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -23,17 +23,6 @@ static inline bool addu(size_t a, size_t b, size_t *c) { } #endif -#if !HAVE_MEMRCHR -/* MIT licensed implementation from musl libc */ -static void *memrchr(const void *m, int c, size_t n) -{ - const unsigned char *s = m; - c = (unsigned char)c; - while (n--) if (s[n]==c) return (void *)(s+n); - return 0; -} -#endif - /* Needed for building on GNU Hurd */ #ifndef PIPE_BUF |
