subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1132965 - in /subversion/trunk/subversion: include/svn_types.h libsvn_diff/util.c libsvn_ra_local/ra_plugin.c libsvn_repos/repos.c libsvn_wc/util.c
Date Tue, 07 Jun 2011 11:58:52 GMT
Author: rhuijben
Date: Tue Jun  7 11:58:51 2011
New Revision: 1132965

URL: http://svn.apache.org/viewvc?rev=1132965&view=rev
Log:
In preparation for removing the inclusion of svn_version.h from several public
headers, explicitly include svn_version.h in a few places where we really need
it.

Add forward declaration of svn_version_t to svn_types.h.

* subversion/include/svn_types.h
  (svn_version_t): Add forward declaration.

* subversion/libsvn_diff/util.c
* subversion/libsvn_ra_local/ra_plugin.c
* subversion/libsvn_repos/repos.c
* subversion/libsvn_wc/util.c
  (includes): Add include of svn_version.h

Modified:
    subversion/trunk/subversion/include/svn_types.h
    subversion/trunk/subversion/libsvn_diff/util.c
    subversion/trunk/subversion/libsvn_ra_local/ra_plugin.c
    subversion/trunk/subversion/libsvn_repos/repos.c
    subversion/trunk/subversion/libsvn_wc/util.c

Modified: subversion/trunk/subversion/include/svn_types.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/svn_types.h?rev=1132965&r1=1132964&r2=1132965&view=diff
==============================================================================
--- subversion/trunk/subversion/include/svn_types.h (original)
+++ subversion/trunk/subversion/include/svn_types.h Tue Jun  7 11:58:51 2011
@@ -131,7 +131,9 @@ typedef struct svn_error_t
 
 } svn_error_t;
 
-
+/* See svn_version.h. 
+   Defined here to avoid including svn_version.h from all public headers. */
+typedef struct svn_version_t svn_version_t;
 
 /** @defgroup APR_ARRAY_compat_macros APR Array Compatibility Helper Macros
  * These macros are provided by APR itself from version 1.3.

Modified: subversion/trunk/subversion/libsvn_diff/util.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_diff/util.c?rev=1132965&r1=1132964&r2=1132965&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_diff/util.c (original)
+++ subversion/trunk/subversion/libsvn_diff/util.c Tue Jun  7 11:58:51 2011
@@ -29,6 +29,7 @@
 #include "svn_diff.h"
 #include "svn_types.h"
 #include "svn_ctype.h"
+#include "svn_version.h"
 
 #include "diff.h"
 

Modified: subversion/trunk/subversion/libsvn_ra_local/ra_plugin.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_local/ra_plugin.c?rev=1132965&r1=1132964&r2=1132965&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_local/ra_plugin.c (original)
+++ subversion/trunk/subversion/libsvn_ra_local/ra_plugin.c Tue Jun  7 11:58:51 2011
@@ -31,6 +31,7 @@
 #include "svn_props.h"
 #include "svn_mergeinfo.h"
 #include "svn_path.h"
+#include "svn_version.h"
 
 #include "svn_private_config.h"
 #include "../libsvn_ra/ra_loader.h"

Modified: subversion/trunk/subversion/libsvn_repos/repos.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_repos/repos.c?rev=1132965&r1=1132964&r2=1132965&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_repos/repos.c (original)
+++ subversion/trunk/subversion/libsvn_repos/repos.c Tue Jun  7 11:58:51 2011
@@ -33,6 +33,8 @@
 #include "svn_ra.h"  /* for SVN_RA_CAPABILITY_* */
 #include "svn_repos.h"
 #include "svn_hash.h"
+#include "svn_version.h"
+
 #include "private/svn_repos_private.h"
 #include "svn_private_config.h" /* for SVN_TEMPLATE_ROOT_DIR */
 

Modified: subversion/trunk/subversion/libsvn_wc/util.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/util.c?rev=1132965&r1=1132964&r2=1132965&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/util.c (original)
+++ subversion/trunk/subversion/libsvn_wc/util.c Tue Jun  7 11:58:51 2011
@@ -33,6 +33,7 @@
 #include "svn_dirent_uri.h"
 #include "svn_path.h"
 #include "svn_props.h"
+#include "svn_version.h"
 
 #include "wc.h"   /* just for prototypes of things in this .c file */
 #include "entries.h"



Mime
View raw message