apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject svn commit: r594422 - /apr/apr-util/trunk/dbd/apr_dbd.c
Date Tue, 13 Nov 2007 04:01:24 GMT
Author: bojan
Date: Mon Nov 12 20:01:22 2007
New Revision: 594422

URL: http://svn.apache.org/viewvc?rev=594422&view=rev
Log:
Properly declare apr_dbd_mutex_lock/unlock when no threading available

Modified:
    apr/apr-util/trunk/dbd/apr_dbd.c

Modified: apr/apr-util/trunk/dbd/apr_dbd.c
URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/dbd/apr_dbd.c?rev=594422&r1=594421&r2=594422&view=diff
==============================================================================
--- apr/apr-util/trunk/dbd/apr_dbd.c (original)
+++ apr/apr-util/trunk/dbd/apr_dbd.c Mon Nov 12 20:01:22 2007
@@ -45,10 +45,10 @@
     return apr_thread_mutex_unlock(mutex);
 }
 #else
-apr_status_t apr_dbd_mutex_lock() {
+APU_DECLARE(apr_status_t) apr_dbd_mutex_lock() {
     return APR_SUCCESS;
 }
-apr_status_t apr_dbd_mutex_unlock() {
+APU_DECLARE(apr_status_t) apr_dbd_mutex_unlock() {
     return APR_SUCCESS;
 }
 #endif



Mime
View raw message