[jnh-cvs 427] CVS update: jnethack/japanese

Back to archive index

Kentaro Shirakata argra****@users*****
2005年 1月 19日 (水) 21:43:05 JST


Index: jnethack/japanese/hash.c
diff -u jnethack/japanese/hash.c:1.1 jnethack/japanese/hash.c:1.2
--- jnethack/japanese/hash.c:1.1	Wed Mar 17 08:45:08 2004
+++ jnethack/japanese/hash.c	Wed Jan 19 21:43:05 2005
@@ -1,17 +1,23 @@
-/* Copyright (c) Issei Numata 1994-2000 */
-/* For 3.4, 2003-2004 by Kentaro Shirakata */
-/* JNetHack may be freely redistributed.  See license for details. */
-
-#define HASHSIZE 2047
-
-static int 
-hash_val(key)
-     unsigned char *key;
-{
-    int v=0;
-
-    ++key;/* skip first char */
-    while(*key)
-      v = (v * 3 + *(key++)) % HASHSIZE;
-    return v;
-}
+/*
+**
+**	$Id: hash.c,v 1.2 2005/01/19 12:43:05 argrath Exp $
+**
+*/
+
+/* Copyright (c) Issei Numata 1994-2000 */
+/* For 3.4, 2003-2004 by Kentaro Shirakata */
+/* JNetHack may be freely redistributed.  See license for details. */
+
+#define HASHSIZE 2047
+
+static int 
+hash_val(key)
+     unsigned char *key;
+{
+    int v=0;
+
+    ++key;/* skip first char */
+    while(*key)
+      v = (v * 3 + *(key++)) % HASHSIZE;
+    return v;
+}


Jnethack-cvs メーリングリストの案内
Back to archive index