[前][次][番号順一覧][スレッド一覧]

ruby-changes:5321

From: ko1 <ko1@a...>
Date: Thu, 5 Jun 2008 08:13:49 +0900 (JST)
Subject: [ruby-changes:5321] Ruby:r16822 (trunk): * string.c (hash): should be "static".

ko1	2008-06-05 08:13:27 +0900 (Thu, 05 Jun 2008)

  New Revision: 16822

  Modified files:
    trunk/ChangeLog
    trunk/string.c

  Log:
    * string.c (hash): should be "static".
    


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/string.c?r1=16822&r2=16821&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=16822&r2=16821&diff_format=u

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 16821)
+++ ChangeLog	(revision 16822)
@@ -1,3 +1,7 @@
+Thu Jun  5 07:48:32 2008  Koichi Sasada  <ko1@a...>
+
+	* string.c (hash): should be "static".
+
 Thu Jun  5 01:47:18 2008  Yusuke Endoh  <mame@t...>
 
 	* test/ruby/test_transcode.rb: add tests for iso-2022-jp.
Index: string.c
===================================================================
--- string.c	(revision 16821)
+++ string.c	(revision 16822)
@@ -1698,7 +1698,7 @@
 #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;

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]