You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2011/05/03 06:52:39 UTC

svn commit: r1098904 - /apr/apr/trunk/strings/apr_fnmatch.c

Author: wrowe
Date: Tue May  3 04:52:38 2011
New Revision: 1098904

URL: http://svn.apache.org/viewvc?rev=1098904&view=rev
Log:
Correct inlining per Jeff Trawick's feedback; Forward ports: r1098902

Modified:
    apr/apr/trunk/strings/apr_fnmatch.c

Modified: apr/apr/trunk/strings/apr_fnmatch.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/strings/apr_fnmatch.c?rev=1098904&r1=1098903&r2=1098904&view=diff
==============================================================================
--- apr/apr/trunk/strings/apr_fnmatch.c (original)
+++ apr/apr/trunk/strings/apr_fnmatch.c Tue May  3 04:52:38 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);