You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by br...@apache.org on 2014/07/29 00:33:48 UTC
svn commit: r1614208 -
/subversion/branches/authzperf/subversion/libsvn_repos/repos.h
Author: brane
Date: Mon Jul 28 22:33:47 2014
New Revision: 1614208
URL: http://svn.apache.org/r1614208
Log:
On the authzperf branch: Do not try to second-guess typedefs for the sake
of saving a couple milliseconds of compilation time.
* subversion/libsvn_repos/repos.h: Include svn_config.h.
(svn_repos__authz_config_validate, svn_repos__create_authz):
Use the svn_config_t typedef instead of forward-declaring the
struct in the function parameter list. This silences a couple
of new warnings in maintainer mode.
Modified:
subversion/branches/authzperf/subversion/libsvn_repos/repos.h
Modified: subversion/branches/authzperf/subversion/libsvn_repos/repos.h
URL: http://svn.apache.org/viewvc/subversion/branches/authzperf/subversion/libsvn_repos/repos.h?rev=1614208&r1=1614207&r2=1614208&view=diff
==============================================================================
--- subversion/branches/authzperf/subversion/libsvn_repos/repos.h (original)
+++ subversion/branches/authzperf/subversion/libsvn_repos/repos.h Mon Jul 28 22:33:47 2014
@@ -27,6 +27,7 @@
#include <apr_hash.h>
#include "svn_fs.h"
+#include "svn_config.h"
#ifdef __cplusplus
extern "C" {
@@ -384,12 +385,12 @@ svn_repos__authz_read(svn_authz_t **auth
/* Walk the authz configuration CONFIG looking for any errors. */
svn_error_t *
-svn_repos__authz_config_validate(struct svn_config_t *config,
+svn_repos__authz_config_validate(svn_config_t *config,
apr_pool_t *pool);
svn_error_t *
svn_repos__create_authz(svn_authz_t **authz_p,
- struct svn_config_t *config,
+ svn_config_t *config,
apr_pool_t *result_pool);