From 9eec758a1e574edbee84797463a00b832c5fcbea Mon Sep 17 00:00:00 2001 From: ko1 Date: Wed, 4 Jun 2008 23:13:27 +0000 Subject: * string.c (hash): should be "static". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ string.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index cb0d13fc88..37bfab5882 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Thu Jun 5 07:48:32 2008 Koichi Sasada + + * string.c (hash): should be "static". + Thu Jun 5 01:47:18 2008 Yusuke Endoh * test/ruby/test_transcode.rb: add tests for iso-2022-jp. diff --git a/string.c b/string.c index 457ac6d54c..404abe0b0c 100644 --- a/string.c +++ b/string.c @@ -1698,7 +1698,7 @@ rb_str_concat(VALUE str1, VALUE str2) #endif /* MurmurHash described in http://murmurhash.googlepages.com/ */ -unsigned int +static unsigned int hash(const unsigned char * data, int len, unsigned int h) { const unsigned int m = 0x7fd652ad; -- cgit v1.2.3