apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r512853 - /apr/apr-util/trunk/dbm/sdbm/sdbm.c
Date Wed, 28 Feb 2007 17:19:08 GMT
Author: jorton
Date: Wed Feb 28 09:19:07 2007
New Revision: 512853

URL: http://svn.apache.org/viewvc?view=rev&rev=512853
Log:
* dbm/sdbm/dbm.c: Constify mask array.

Modified:
    apr/apr-util/trunk/dbm/sdbm/sdbm.c

Modified: apr/apr-util/trunk/dbm/sdbm/sdbm.c
URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/dbm/sdbm/sdbm.c?view=diff&rev=512853&r1=512852&r2=512853
==============================================================================
--- apr/apr-util/trunk/dbm/sdbm/sdbm.c (original)
+++ apr/apr-util/trunk/dbm/sdbm/sdbm.c Wed Feb 28 09:19:07 2007
@@ -57,7 +57,7 @@
 #define OFF_PAG(off)	(apr_off_t) (off) * PBLKSIZ
 #define OFF_DIR(off)	(apr_off_t) (off) * DBLKSIZ
 
-static long masks[] = {
+static const long masks[] = {
         000000000000, 000000000001, 000000000003, 000000000007,
         000000000017, 000000000037, 000000000077, 000000000177,
         000000000377, 000000000777, 000000001777, 000000003777,



Mime
View raw message