subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1717575 - /subversion/trunk/subversion/libsvn_fs/fs-loader.h
Date Wed, 02 Dec 2015 07:37:54 GMT
Author: rhuijben
Date: Wed Dec  2 07:37:53 2015
New Revision: 1717575

URL: http://svn.apache.org/viewvc?rev=1717575&view=rev
Log:
Constify a few vtable pointers in the internal fs api.

* subversion/libsvn_fs/fs-loader.h
  (svn_fs_root_t,
   svn_fs_history_t,
   svn_fs_id_t): Mark vtable const.

Modified:
    subversion/trunk/subversion/libsvn_fs/fs-loader.h

Modified: subversion/trunk/subversion/libsvn_fs/fs-loader.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs/fs-loader.h?rev=1717575&r1=1717574&r2=1717575&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs/fs-loader.h (original)
+++ subversion/trunk/subversion/libsvn_fs/fs-loader.h Wed Dec  2 07:37:53 2015
@@ -524,7 +524,7 @@ struct svn_fs_root_t
   svn_revnum_t rev;
 
   /* FSAP-specific vtable and private data */
-  root_vtable_t *vtable;
+  const root_vtable_t *vtable;
   void *fsap_data;
 };
 
@@ -532,7 +532,7 @@ struct svn_fs_root_t
 struct svn_fs_history_t
 {
   /* FSAP-specific vtable and private data */
-  history_vtable_t *vtable;
+  const history_vtable_t *vtable;
   void *fsap_data;
 };
 
@@ -540,7 +540,7 @@ struct svn_fs_history_t
 struct svn_fs_id_t
 {
   /* FSAP-specific vtable and private data */
-  id_vtable_t *vtable;
+  const id_vtable_t *vtable;
   void *fsap_data;
 };
 



Mime
View raw message