diff options
| author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-04 23:13:27 +0000 |
|---|---|---|
| committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-04 23:13:27 +0000 |
| commit | 35289243a83e4842c79bca0275e72f39fc0f9545 (patch) | |
| tree | e551bbf7e6a4dd7cd38c2b63ab86afe20ee072f0 | |
| parent | d38ecc58609e1da700a1be2d5ab37e13826f1fe1 (diff) | |
| download | ruby-35289243a83e4842c79bca0275e72f39fc0f9545.tar.gz ruby-35289243a83e4842c79bca0275e72f39fc0f9545.tar.xz ruby-35289243a83e4842c79bca0275e72f39fc0f9545.zip | |
* string.c (hash): should be "static".
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | string.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Thu Jun 5 07:48:32 2008 Koichi Sasada <ko1@atdot.net> + + * string.c (hash): should be "static". + Thu Jun 5 01:47:18 2008 Yusuke Endoh <mame@tsg.ne.jp> * test/ruby/test_transcode.rb: add tests for iso-2022-jp. @@ -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; |
