From commits-return-8005-apmail-apr-commits-archive=apr.apache.org@apr.apache.org Mon Nov 06 16:41:05 2006 Return-Path: Delivered-To: apmail-apr-commits-archive@www.apache.org Received: (qmail 56999 invoked from network); 6 Nov 2006 16:41:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Nov 2006 16:41:03 -0000 Received: (qmail 63160 invoked by uid 500); 6 Nov 2006 16:41:14 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 63127 invoked by uid 500); 6 Nov 2006 16:41:13 -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 63116 invoked by uid 99); 6 Nov 2006 16:41:13 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Nov 2006 08:41:13 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME 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, 06 Nov 2006 08:41:00 -0800 Received: by eris.apache.org (Postfix, from userid 65534) id 216E21A9846; Mon, 6 Nov 2006 08:40:34 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r471787 - in /apr/apr-util/trunk: CHANGES include/apr_queue.h Date: Mon, 06 Nov 2006 16:40:34 -0000 To: commits@apr.apache.org From: rooneg@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20061106164034.216E21A9846@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: rooneg Date: Mon Nov 6 08:40:33 2006 New Revision: 471787 URL: http://svn.apache.org/viewvc?view=rev&rev=471787 Log: Allow apr_queue.h to be included before other APR headers. Previously it wouldn't declare any function prototypes due to APR_HAS_THREADS not being defined. Issue: 40891 Submitted by: Henry Jen * include/apr_queue.h: Move #if APR_HAS_THREADS down below APR includes. * CHANGES: Note change. Modified: apr/apr-util/trunk/CHANGES apr/apr-util/trunk/include/apr_queue.h Modified: apr/apr-util/trunk/CHANGES URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/CHANGES?view=diff&rev=471787&r1=471786&r2=471787 ============================================================================== --- apr/apr-util/trunk/CHANGES (original) +++ apr/apr-util/trunk/CHANGES Mon Nov 6 08:40:33 2006 @@ -1,5 +1,8 @@ Changes with APR-util 1.3.0 + *) Allow apr_queue.h to be included before other APR headers. + PR 40891 [Henry Jen ] + *) Fix precedence problem in error checking for sdbm dbm back end. PR 40659 [Larry Cipriani ] Modified: apr/apr-util/trunk/include/apr_queue.h URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/include/apr_queue.h?view=diff&rev=471787&r1=471786&r2=471787 ============================================================================== --- apr/apr-util/trunk/include/apr_queue.h (original) +++ apr/apr-util/trunk/include/apr_queue.h Mon Nov 6 08:40:33 2006 @@ -17,7 +17,6 @@ #ifndef APR_QUEUE_H #define APR_QUEUE_H -#if APR_HAS_THREADS /** * @file apr_queue.h * @brief Thread Safe FIFO bounded queue @@ -29,6 +28,8 @@ #include "apu.h" #include "apr_errno.h" #include "apr_pools.h" + +#if APR_HAS_THREADS #ifdef __cplusplus extern "C" {