apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject svn commit: r594037 - in /apr/apr-util/trunk: dbd/apr_dbd.c include/private/apr_dbd_internal.h
Date Mon, 12 Nov 2007 07:46:41 GMT
Author: bojan
Date: Sun Nov 11 23:46:40 2007
New Revision: 594037

URL: http://svn.apache.org/viewvc?rev=594037&view=rev
Log:
Export apr_dbd_mutex_lock/unlock for the drivers to see
Patch by Tom Donovan
PR 43828

Modified:
    apr/apr-util/trunk/dbd/apr_dbd.c
    apr/apr-util/trunk/include/private/apr_dbd_internal.h

Modified: apr/apr-util/trunk/dbd/apr_dbd.c
URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/dbd/apr_dbd.c?rev=594037&r1=594036&r2=594037&view=diff
==============================================================================
--- apr/apr-util/trunk/dbd/apr_dbd.c (original)
+++ apr/apr-util/trunk/dbd/apr_dbd.c Sun Nov 11 23:46:40 2007
@@ -36,11 +36,11 @@
 
 #if APR_HAS_THREADS
 static apr_thread_mutex_t* mutex = NULL;
-apr_status_t apr_dbd_mutex_lock()
+APU_DECLARE(apr_status_t) apr_dbd_mutex_lock()
 {
     return apr_thread_mutex_lock(mutex);
 }
-apr_status_t apr_dbd_mutex_unlock()
+APU_DECLARE(apr_status_t) apr_dbd_mutex_unlock()
 {
     return apr_thread_mutex_unlock(mutex);
 }

Modified: apr/apr-util/trunk/include/private/apr_dbd_internal.h
URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/include/private/apr_dbd_internal.h?rev=594037&r1=594036&r2=594037&view=diff
==============================================================================
--- apr/apr-util/trunk/include/private/apr_dbd_internal.h (original)
+++ apr/apr-util/trunk/include/private/apr_dbd_internal.h Sun Nov 11 23:46:40 2007
@@ -352,8 +352,8 @@
 };
 
 /* Export mutex lock/unlock for drivers that need it */
-apr_status_t apr_dbd_mutex_lock(void);
-apr_status_t apr_dbd_mutex_unlock(void);
+APU_DECLARE(apr_status_t) apr_dbd_mutex_lock(void);
+APU_DECLARE(apr_status_t) apr_dbd_mutex_unlock(void);
 
 #ifdef __cplusplus
 }



Mime
View raw message