subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1511215 - in /subversion/trunk/subversion/svnserve: serve.c server.h
Date Wed, 07 Aug 2013 08:58:35 GMT
Author: danielsh
Date: Wed Aug  7 08:58:35 2013
New Revision: 1511215

URL: http://svn.apache.org/r1511215
Log:
Reduce visibility of a function.

* subversion/svnserve/server.h
  (load_authz_config): Remove declaration.

* subversion/svnserve/serve.c
  (load_authz_config): Mark static.  Also move here the docstring from the
    now-removed declaration.

Modified:
    subversion/trunk/subversion/svnserve/serve.c
    subversion/trunk/subversion/svnserve/server.h

Modified: subversion/trunk/subversion/svnserve/serve.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svnserve/serve.c?rev=1511215&r1=1511214&r2=1511215&view=diff
==============================================================================
--- subversion/trunk/subversion/svnserve/serve.c (original)
+++ subversion/trunk/subversion/svnserve/serve.c Wed Aug  7 08:58:35 2013
@@ -340,6 +340,12 @@ canonicalize_access_file(const char **ac
   return SVN_NO_ERROR;
 }
 
+/* Load the authz database for the listening server based on the
+   entries in the SERVER struct.
+
+   SERVER and CONN must not be NULL. The real errors will be logged with
+   SERVER and CONN but return generic errors to the client. */
+static 
 svn_error_t *load_authz_config(server_baton_t *server,
                                svn_ra_svn_conn_t *conn,
                                const char *repos_root,

Modified: subversion/trunk/subversion/svnserve/server.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svnserve/server.h?rev=1511215&r1=1511214&r2=1511215&view=diff
==============================================================================
--- subversion/trunk/subversion/svnserve/server.h (original)
+++ subversion/trunk/subversion/svnserve/server.h Wed Aug  7 08:58:35 2013
@@ -146,16 +146,6 @@ svn_error_t *load_pwdb_config(server_bat
                               svn_ra_svn_conn_t *conn,
                               apr_pool_t *pool);
 
-/* Load the authz database for the listening server based on the
-   entries in the SERVER struct.
-
-   SERVER and CONN must not be NULL. The real errors will be logged with
-   SERVER and CONN but return generic errors to the client. */
-svn_error_t *load_authz_config(server_baton_t *server,
-                               svn_ra_svn_conn_t *conn,
-                               const char *repos_root,
-                               apr_pool_t *pool);
-
 /* Initialize the Cyrus SASL library. POOL is used for allocations. */
 svn_error_t *cyrus_init(apr_pool_t *pool);
 



Mime
View raw message