ruby-changes:47833
From: rhe <ko1@a...>
Date: Mon, 18 Sep 2017 14:37:33 +0900 (JST)
Subject: [ruby-changes:47833] rhe:r59953 (trunk): re.c: remove unused rb_memcmp() function
rhe 2017-09-18 14:37:29 +0900 (Mon, 18 Sep 2017) New Revision: 59953 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59953 Log: re.c: remove unused rb_memcmp() function It is no longer used or exported as of r13641. Modified files: trunk/re.c Index: re.c =================================================================== --- re.c (revision 59952) +++ re.c (revision 59953) @@ -88,14 +88,6 @@ rb_memcicmp(const void *x, const void *y https://github.com/ruby/ruby/blob/trunk/re.c#L88 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) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/