summaryrefslogtreecommitdiffstats
path: root/st.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-26 08:30:22 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-26 08:30:22 +0000
commit22ce0047e2d128124b8d6b90c54217869412880a (patch)
tree75dd6237c053370c0ba872982d1a9a52753194c7 /st.c
parenta07b4b1fb0f2e47d755d82f2d6fab5e9f262774c (diff)
downloadruby-22ce0047e2d128124b8d6b90c54217869412880a.tar.gz
ruby-22ce0047e2d128124b8d6b90c54217869412880a.tar.xz
ruby-22ce0047e2d128124b8d6b90c54217869412880a.zip
* error.c (builtin_types), signal.c (siglist), st.c (primes),
struct.c (ref_func), time.c (months): constified. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'st.c')
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.c b/st.c
index 1d04f605a..0090f28e5 100644
--- a/st.c
+++ b/st.c
@@ -82,7 +82,7 @@ static void rehash(st_table *);
/*
Table of prime numbers 2^n+a, 2<=n<=30.
*/
-static long primes[] = {
+static const long primes[] = {
8 + 3,
16 + 3,
32 + 5,