summaryrefslogtreecommitdiff
path: root/pcre_newline.c
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2009-03-28 17:10:56 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2009-03-28 17:10:56 +0000
commitdf015980268d2847a4a37ce979329fff452108cb (patch)
treec1622a47b658f419f3c5293b21d0f874ef85d71c /pcre_newline.c
parentd68b5cc516926d0238fe730aff2e5ad4b3f363ef (diff)
downloadpcre-df015980268d2847a4a37ce979329fff452108cb.tar.gz
Further USPTR additions.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@409 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_newline.c')
-rw-r--r--pcre_newline.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/pcre_newline.c b/pcre_newline.c
index 5888576..38cf7f7 100644
--- a/pcre_newline.c
+++ b/pcre_newline.c
@@ -6,7 +6,7 @@
and semantics are as close as possible to those of the Perl 5 language.
Written by Philip Hazel
- Copyright (c) 1997-2008 University of Cambridge
+ Copyright (c) 1997-2009 University of Cambridge
-----------------------------------------------------------------------------
Redistribution and use in source and binary forms, with or without
@@ -73,8 +73,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;
@@ -123,8 +122,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--;