From c953283d7e40df3c75f32c1a4fb372b7e32b254c Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 4 Oct 2007 09:54:53 +0000 Subject: revert rb_memcmp() change to pacify GCC optimizer git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- include/ruby/intern.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/ruby') diff --git a/include/ruby/intern.h b/include/ruby/intern.h index 2684076a12..500ec6a358 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -442,7 +442,7 @@ VALUE rb_range_beg_len(VALUE, long*, long*, long, int); unsigned long genrand_int32(void); double genrand_real(void); /* re.c */ -#define rb_memcmp(a,b,c) memcmp(a,b,c) +int rb_memcmp(const void*,const void*,long); int rb_memcicmp(const void*,const void*,long); long rb_memsearch(const void*,long,const void*,long); VALUE rb_reg_nth_defined(int, VALUE); -- cgit v1.2.3