You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by da...@apache.org on 2012/02/09 17:29:55 UTC
svn commit: r1242379 -
/subversion/trunk/subversion/mod_authz_svn/mod_authz_svn.c
Author: danielsh
Date: Thu Feb 9 16:29:55 2012
New Revision: 1242379
URL: http://svn.apache.org/viewvc?rev=1242379&view=rev
Log:
Eliminate build warning when building against httpd-2.3.16-beta.
* subversion/mod_authz_svn/mod_authz_svn.c
(authz_svn_module): Declare only once.
Modified:
subversion/trunk/subversion/mod_authz_svn/mod_authz_svn.c
Modified: subversion/trunk/subversion/mod_authz_svn/mod_authz_svn.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/mod_authz_svn/mod_authz_svn.c?rev=1242379&r1=1242378&r2=1242379&view=diff
==============================================================================
--- subversion/trunk/subversion/mod_authz_svn/mod_authz_svn.c (original)
+++ subversion/trunk/subversion/mod_authz_svn/mod_authz_svn.c Thu Feb 9 16:29:55 2012
@@ -48,10 +48,11 @@
#include "private/svn_fspath.h"
-extern module AP_MODULE_DECLARE_DATA authz_svn_module;
-
#ifdef APLOG_USE_MODULE
APLOG_USE_MODULE(authz_svn);
+#else
+/* This is part of the APLOG_USE_MODULE() macro in httpd-2.3 */
+extern module AP_MODULE_DECLARE_DATA authz_svn_module;
#endif
typedef struct authz_svn_config_rec {