summaryrefslogtreecommitdiff
path: root/ext/pcre/pcrelib/pcre_newline.c
diff options
context:
space:
mode:
authorNuno Lopes <nlopess@php.net>2009-04-11 18:57:27 +0000
committerNuno Lopes <nlopess@php.net>2009-04-11 18:57:27 +0000
commit90a2d1979486b2e7fa14be9c3210b9d321c668f8 (patch)
tree9f67ba72ee6010944487be2790c467dd2ea2cbaf /ext/pcre/pcrelib/pcre_newline.c
parentff62b87cd6b94c50fbbac88bf4129f6418efe131 (diff)
downloadphp-git-90a2d1979486b2e7fa14be9c3210b9d321c668f8.tar.gz
upgrade PCRE to version 7.9
Diffstat (limited to 'ext/pcre/pcrelib/pcre_newline.c')
-rw-r--r--ext/pcre/pcrelib/pcre_newline.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/pcre/pcrelib/pcre_newline.c b/ext/pcre/pcrelib/pcre_newline.c
index 0b682437bf..3f6160ef22 100644
--- a/ext/pcre/pcrelib/pcre_newline.c
+++ b/ext/pcre/pcrelib/pcre_newline.c
@@ -71,8 +71,7 @@ Returns: TRUE or FALSE
*/
BOOL
-_pcre_is_newline(const uschar *ptr, int type, const uschar *endptr,
- int *lenptr, BOOL utf8)
+_pcre_is_newline(USPTR ptr, int type, USPTR endptr, int *lenptr, BOOL utf8)
{
int c;
if (utf8) { GETCHAR(c, ptr); } else c = *ptr;
@@ -121,8 +120,7 @@ Returns: TRUE or FALSE
*/
BOOL
-_pcre_was_newline(const uschar *ptr, int type, const uschar *startptr,
- int *lenptr, BOOL utf8)
+_pcre_was_newline(USPTR ptr, int type, USPTR startptr, int *lenptr, BOOL utf8)
{
int c;
ptr--;