]> granicus.if.org Git - php/commitdiff
Fixes build issues with ext/intl. This appears to be related to bug #55019, but since...
authorGwynne Raskind <gwynne@php.net>
Sun, 7 Aug 2011 15:12:34 +0000 (15:12 +0000)
committerGwynne Raskind <gwynne@php.net>
Sun, 7 Aug 2011 15:12:34 +0000 (15:12 +0000)
ext/intl/grapheme/grapheme_util.c
ext/intl/grapheme/grapheme_util.h

index db5643164859912dd7315eb910fbd58b6eddaa80..92008554d47b169b53f3d7a695517739513c850b 100755 (executable)
@@ -432,7 +432,7 @@ int grapheme_split_string(const UChar *text, int32_t text_length, int boundary_a
 /* }}} */
 
 /* {{{ grapheme_count_graphemes */
-inline int32_t
+int32_t
 grapheme_count_graphemes(UBreakIterator *bi, UChar *string, int32_t string_len)
 {
        int ret_len = 0;
@@ -456,7 +456,7 @@ grapheme_count_graphemes(UBreakIterator *bi, UChar *string, int32_t string_len)
 /* }}} */
 
 /* {{{ grapheme_memnstr_grapheme: find needle in haystack using grapheme boundaries */
-inline int32_t
+int32_t
 grapheme_memnstr_grapheme(UBreakIterator *bi, UChar *haystack, UChar *needle, int32_t needle_len, UChar *end)
 {
        UChar *p = haystack;
index f8207cac5263d410fdcb16fe7a86c50908d617c5..675c6481b73d024c33a38a3702cc846ab79ce4a5 100755 (executable)
@@ -36,10 +36,10 @@ int grapheme_ascii_check(const unsigned char *day, int32_t len);
 
 int grapheme_split_string(const UChar *text, int32_t text_length, int boundary_array[], int boundary_array_len TSRMLS_DC );
 
-inline int32_t
+int32_t
 grapheme_count_graphemes(UBreakIterator *bi, UChar *string, int32_t string_len);
 
-inline int32_t
+int32_t
 grapheme_memnstr_grapheme(UBreakIterator *bi, UChar *haystack, UChar *needle, int32_t needle_len, UChar *end);
 
 inline void *grapheme_memrchr_grapheme(const void *s, int c, int32_t n);