aboutsummaryrefslogtreecommitdiffstats
path: root/re.c
diff options
context:
space:
mode:
authorrhe <rhe@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-18 05:37:29 +0000
committerrhe <rhe@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-18 05:37:29 +0000
commit754fb5b3bb8196f357cb0cae025688e8dbb4f078 (patch)
treee2171384ff3258f2ae6492c4cc977c127c155c22 /re.c
parent581cd895ee3ca838670e9b8c5e2f56f9f21fe836 (diff)
downloadruby-754fb5b3bb8196f357cb0cae025688e8dbb4f078.tar.gz
re.c: remove unused rb_memcmp() function
It is no longer used or exported as of r13641. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 're.c')
-rw-r--r--re.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/re.c b/re.c
index 55eea5a81e..abdacb816d 100644
--- a/re.c
+++ b/re.c
@@ -88,14 +88,6 @@ rb_memcicmp(const void *x, const void *y, long len)
return 0;
}
-#undef rb_memcmp
-
-int
-rb_memcmp(const void *p1, const void *p2, long len)
-{
- return memcmp(p1, p2, len);
-}
-
#ifdef HAVE_MEMMEM
static inline long
rb_memsearch_ss(const unsigned char *xs, long m, const unsigned char *ys, long n)