From commits-return-9187-apmail-apr-commits-archive=apr.apache.org@apr.apache.org Mon Nov 12 07:47:05 2007 Return-Path: Delivered-To: apmail-apr-commits-archive@www.apache.org Received: (qmail 46515 invoked from network); 12 Nov 2007 07:47:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Nov 2007 07:47:04 -0000 Received: (qmail 91839 invoked by uid 500); 12 Nov 2007 07:46:52 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 91801 invoked by uid 500); 12 Nov 2007 07:46:52 -0000 Mailing-List: contact commits-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: dev@apr.apache.org List-Id: Delivered-To: mailing list commits@apr.apache.org Received: (qmail 91790 invoked by uid 99); 12 Nov 2007 07:46:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Nov 2007 23:46:52 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Nov 2007 07:47:48 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 205D41A9832; Sun, 11 Nov 2007 23:46:42 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@apr.apache.org From: bojan@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20071112074642.205D41A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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 }