You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ri...@apache.org on 2024/09/21 11:52:16 UTC
svn commit: r1920828 - in /subversion/branches/windows-shared-ra-modules/subversion: libsvn_ra_local/ra_init.h libsvn_ra_serf/ra_init.h libsvn_ra_svn/ra_init.h
Author: rinrab
Date: Sat Sep 21 11:52:15 2024
New Revision: 1920828
URL: http://svn.apache.org/viewvc?rev=1920828&view=rev
Log:
On the 'windows-shared-ra-modules' branch: ra-modules: Make their ra_init.h
headers to be 'complete' headers, containing all dependent headers.
No functional changes right now.
* subversion/libsvn_ra_local/ra_init.h,
subversion/libsvn_ra_serf/ra_init.h,
subversion/libsvn_ra_svn/ra_init.h
(): Add #ifndef and #define to disallow including it twice.
(includes): Include ra-loader.h.
(): Remove check for ra-loader.h included and erroring if so.
Modified:
subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_local/ra_init.h
subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_serf/ra_init.h
subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_svn/ra_init.h
Modified: subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_local/ra_init.h
URL: http://svn.apache.org/viewvc/subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_local/ra_init.h?rev=1920828&r1=1920827&r2=1920828&view=diff
==============================================================================
--- subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_local/ra_init.h (original)
+++ subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_local/ra_init.h Sat Sep 21 11:52:15 2024
@@ -21,9 +21,10 @@
* ====================================================================
*/
-#ifndef LIBSVN_RA_RA_LOADER_H
-#error Please include libsvn_ra/ra_loader.h instead of this file
-#else
+#ifndef SVN_LIBSVN_RA_LOCAL_INIT
+#define SVN_LIBSVN_RA_LOCAL_INIT
+
+#include "../libsvn_ra/ra_loader.h"
svn_error_t *svn_ra_local__init(const svn_version_t *loader_version,
const svn_ra__vtable_t **vtable,
Modified: subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_serf/ra_init.h
URL: http://svn.apache.org/viewvc/subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_serf/ra_init.h?rev=1920828&r1=1920827&r2=1920828&view=diff
==============================================================================
--- subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_serf/ra_init.h (original)
+++ subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_serf/ra_init.h Sat Sep 21 11:52:15 2024
@@ -21,9 +21,10 @@
* ====================================================================
*/
-#ifndef LIBSVN_RA_RA_LOADER_H
-#error Please include libsvn_ra/ra_loader.h instead of this file
-#else
+#ifndef SVN_LIBSVN_RA_SERF_INIT
+#define SVN_LIBSVN_RA_SERF_INIT
+
+#include "../libsvn_ra/ra_loader.h"
svn_error_t *svn_ra_serf__init(const svn_version_t *loader_version,
const svn_ra__vtable_t **vtable,
Modified: subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_svn/ra_init.h
URL: http://svn.apache.org/viewvc/subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_svn/ra_init.h?rev=1920828&r1=1920827&r2=1920828&view=diff
==============================================================================
--- subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_svn/ra_init.h (original)
+++ subversion/branches/windows-shared-ra-modules/subversion/libsvn_ra_svn/ra_init.h Sat Sep 21 11:52:15 2024
@@ -21,9 +21,10 @@
* ====================================================================
*/
-#ifndef LIBSVN_RA_RA_LOADER_H
-#error Please include libsvn_ra/ra_loader.h instead of this file
-#else
+#ifndef SVN_LIBSVN_RA_SVN_INIT
+#define SVN_LIBSVN_RA_SVN_INIT
+
+#include "../libsvn_ra/ra_loader.h"
svn_error_t *svn_ra_svn__init(const svn_version_t *loader_version,
const svn_ra__vtable_t **vtable,