subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gst...@apache.org
Subject svn commit: r1334500 - /subversion/trunk/subversion/libsvn_ra_serf/options.c
Date Sat, 05 May 2012 20:50:48 GMT
Author: gstein
Date: Sat May  5 20:50:47 2012
New Revision: 1334500

URL: http://svn.apache.org/viewvc?rev=1334500&view=rev
Log:
Move some globals into the constant data segment.

* subversion/libsvn_ra_serf/options.c:
  (capability_yes, capability_no, capability_server_yes): constify

Modified:
    subversion/trunk/subversion/libsvn_ra_serf/options.c

Modified: subversion/trunk/subversion/libsvn_ra_serf/options.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_serf/options.c?rev=1334500&r1=1334499&r2=1334500&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_serf/options.c (original)
+++ subversion/trunk/subversion/libsvn_ra_serf/options.c Sat May  5 20:50:47 2012
@@ -248,11 +248,11 @@ svn_ra_serf__options_get_youngest_rev(sv
  * the place.
  */
 /* Both server and repository support the capability. */
-static const char *capability_yes = "yes";
+static const char *const capability_yes = "yes";
 /* Either server or repository does not support the capability. */
-static const char *capability_no = "no";
+static const char *const capability_no = "no";
 /* Server supports the capability, but don't yet know if repository does. */
-static const char *capability_server_yes = "server-yes";
+static const char *const capability_server_yes = "server-yes";
 
 
 /* This implements serf_bucket_headers_do_callback_fn_t.



Mime
View raw message