Created
October 19, 2018 22:40
-
-
Save sptndc/c5614b7559714f179e855ac9067dc84c to your computer and use it in GitHub Desktop.
Patch for PHP intl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: ext/intl/grapheme/grapheme_string.c | |
=================================================================== | |
--- ext/intl/grapheme/grapheme_string.c (revisión: 311981) | |
+++ ext/intl/grapheme/grapheme_string.c (copia de trabajo) | |
@@ -665,7 +665,7 @@ | |
/* }}} */ | |
/* {{{ grapheme_extract_charcount_iter - grapheme iterator for grapheme_extract MAXCHARS */ | |
-inline int32_t | |
+static inline int32_t | |
grapheme_extract_charcount_iter(UBreakIterator *bi, int32_t csize, unsigned char *pstr, int32_t str_len) | |
{ | |
int pos = 0, prev_pos = 0; | |
@@ -702,7 +702,7 @@ | |
/* }}} */ | |
/* {{{ grapheme_extract_bytecount_iter - grapheme iterator for grapheme_extract MAXBYTES */ | |
-inline int32_t | |
+static inline int32_t | |
grapheme_extract_bytecount_iter(UBreakIterator *bi, int32_t bsize, unsigned char *pstr, int32_t str_len) | |
{ | |
int pos = 0, prev_pos = 0; | |
@@ -736,7 +736,7 @@ | |
/* }}} */ | |
/* {{{ grapheme_extract_count_iter - grapheme iterator for grapheme_extract COUNT */ | |
-inline int32_t | |
+static inline int32_t | |
grapheme_extract_count_iter(UBreakIterator *bi, int32_t size, unsigned char *pstr, int32_t str_len) | |
{ | |
int pos = 0, next_pos = 0; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment