You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2009/04/23 07:38:45 UTC

svn commit: r767806 - in /httpd/httpd/trunk/modules/database: mod_dbd.c mod_dbd.h

Author: wrowe
Date: Thu Apr 23 05:38:45 2009
New Revision: 767806

URL: http://svn.apache.org/viewvc?rev=767806&view=rev
Log:
Fix module scope, to avoid this, copy and past from loadable modules, not core

Modified:
    httpd/httpd/trunk/modules/database/mod_dbd.c
    httpd/httpd/trunk/modules/database/mod_dbd.h

Modified: httpd/httpd/trunk/modules/database/mod_dbd.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/database/mod_dbd.c?rev=767806&r1=767805&r2=767806&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/database/mod_dbd.c (original)
+++ httpd/httpd/trunk/modules/database/mod_dbd.c Thu Apr 23 05:38:45 2009
@@ -39,7 +39,7 @@
 
 extern module AP_MODULE_DECLARE_DATA dbd_module;
 
-APR_IMPLEMENT_OPTIONAL_HOOK_RUN_ALL(dbd, AP, apr_status_t, post_connect,
+APR_IMPLEMENT_OPTIONAL_HOOK_RUN_ALL(dbd, DBD, apr_status_t, post_connect,
                                     (apr_pool_t *pool, dbd_cfg_t *cfg,
                                     ap_dbd_t *dbd),
                                     (pool, cfg, dbd), OK, DECLINED)

Modified: httpd/httpd/trunk/modules/database/mod_dbd.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/database/mod_dbd.h?rev=767806&r1=767805&r2=767806&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/database/mod_dbd.h (original)
+++ httpd/httpd/trunk/modules/database/mod_dbd.h Thu Apr 23 05:38:45 2009
@@ -115,7 +115,7 @@
 APR_DECLARE_OPTIONAL_FN(ap_dbd_t*, ap_dbd_cacquire, (conn_rec*));
 APR_DECLARE_OPTIONAL_FN(void, ap_dbd_prepare, (server_rec*, const char*, const char*));
 
-APR_DECLARE_EXTERNAL_HOOK(dbd, AP, apr_status_t, post_connect,
+APR_DECLARE_EXTERNAL_HOOK(dbd, DBD, apr_status_t, post_connect,
                           (apr_pool_t *, dbd_cfg_t *, ap_dbd_t *));
 
 #endif