Login | Register
My pages Projects Community openCollabNet

Discussions > commits > svn commit: r2468 - branches/fsvs-1.2.x/fsvs/src

fsvs
Discussion topic

Back to topic list

svn commit: r2468 - branches/fsvs-1.2.x/fsvs/src

Author pmarek
Full name P.Marek
Date 2013-05-31 17:28:33 PDT
Message Author: pmarek
Date: 2013-05-30 22:39:39-0700
New Revision: 2468

Modified:
   branches/fsvs-1.2.x/​fsvs/src/props.c
   branches/fsvs-1.2.x/​fsvs/src/props.h

Log:
Declare the argument const, to avoid a compiler warning.

Modified: branches/fsvs-1.2.x/​fsvs/src/props.c
Url: http://fsvs.tigris.o​rg/source/browse/fsv​s/branches/fsvs-1.2.​x/fsvs/src/props.c?v​iew=diff&pathrev​=2468&r1=2467​&r2=2468
====================​====================​====================​==================
--- branches/fsvs-1.2.x/​fsvs/src/props.c (original)
+++ branches/fsvs-1.2.x/​fsvs/src/props.c 2013-05-30 22:39:39-0700
@@ -442,7 +442,7 @@
 
 /** -.
  * Wrapper for prp__fetch(). */
-int prp__get(hash_t db, char *keycp, datum *value)
+int prp__get(hash_t db, const char *keycp, datum *value)
 {
   static datum key;
 

Modified: branches/fsvs-1.2.x/​fsvs/src/props.h
Url: http://fsvs.tigris.o​rg/source/browse/fsv​s/branches/fsvs-1.2.​x/fsvs/src/props.h?v​iew=diff&pathrev​=2468&r1=2467​&r2=2468
====================​====================​====================​==================
--- branches/fsvs-1.2.x/​fsvs/src/props.h (original)
+++ branches/fsvs-1.2.x/​fsvs/src/props.h 2013-05-30 22:39:39-0700
@@ -63,7 +63,7 @@
         hash_t *db);
 /** Get a value, addressed by a string; key length is calculated inclusive
  * the \c \\0. */
-int prp__get(hash_t db, char *keycp, datum *value);
+int prp__get(hash_t db, const char *keycp, datum *value);
 /** Store the value; basic function. */
 int prp__store(hash_t db, datum key, datum value);
 /** Get first key. */

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

svn commit: r2468 - branches/fsvs-1.2.x/fsvs/src pmarek P.Marek 2013-05-31 17:28:33 PDT
Messages per page: