Return-Path: X-Original-To: apmail-apr-commits-archive@www.apache.org Delivered-To: apmail-apr-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 26BE52567 for ; Tue, 3 May 2011 04:51:48 +0000 (UTC) Received: (qmail 57090 invoked by uid 500); 3 May 2011 04:51:47 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 56991 invoked by uid 500); 3 May 2011 04:51:46 -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 56984 invoked by uid 99); 3 May 2011 04:51:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 May 2011 04:51:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 May 2011 04:51:44 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id BEDB72388901; Tue, 3 May 2011 04:51:24 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1098902 - /apr/apr/branches/1.4.x/strings/apr_fnmatch.c Date: Tue, 03 May 2011 04:51:24 -0000 To: commits@apr.apache.org From: wrowe@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110503045124.BEDB72388901@eris.apache.org> Author: wrowe Date: Tue May 3 04:51:24 2011 New Revision: 1098902 URL: http://svn.apache.org/viewvc?rev=1098902&view=rev Log: Correct inlining per Jeff Traawick's feedback Modified: apr/apr/branches/1.4.x/strings/apr_fnmatch.c Modified: apr/apr/branches/1.4.x/strings/apr_fnmatch.c URL: http://svn.apache.org/viewvc/apr/apr/branches/1.4.x/strings/apr_fnmatch.c?rev=1098902&r1=1098901&r2=1098902&view=diff ============================================================================== --- apr/apr/branches/1.4.x/strings/apr_fnmatch.c (original) +++ apr/apr/branches/1.4.x/strings/apr_fnmatch.c Tue May 3 04:51:24 2011 @@ -71,7 +71,7 @@ * Both pattern and string are **char to support pointer increment of arbitrary * multibyte characters for the given locale, in a later iteration of this code */ -static __inline int fnmatch_ch(const char **pattern, const char **string, int flags) +static APR_INLINE int fnmatch_ch(const char **pattern, const char **string, int flags) { const char * const mismatch = *pattern; const int nocase = !!(flags & APR_FNM_CASE_BLIND);