diff options
author | Yves Orton <demerphq@gmail.com> | 2007-05-02 01:46:40 +0200 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-05-02 14:28:45 +0000 |
commit | 9f61653ad1a5a0e664e7c27edd6c232deb0bf787 (patch) | |
tree | 1360b7c0ebb47a7469d7b404d841422554dd450c | |
parent | b0d07b4e8d25114701bc6954107375b0bddf5764 (diff) | |
download | perl-9f61653ad1a5a0e664e7c27edd6c232deb0bf787.tar.gz |
tweak some regexp params to avoid warnings
Message-ID: <9b18b3110705011446h2113221cndf70af928d72505@mail.gmail.com>
p4raw-id: //depot/perl@31118
-rw-r--r-- | embed.fnc | 2 | ||||
-rw-r--r-- | perl.h | 2 | ||||
-rw-r--r-- | proto.h | 2 | ||||
-rw-r--r-- | regexec.c | 2 | ||||
-rw-r--r-- | regexp.h | 4 |
5 files changed, 6 insertions, 6 deletions
@@ -687,7 +687,7 @@ Ap |REGEXP*|pregcomp |NN const SV * const pattern|const U32 flags Ap |REGEXP*|re_compile |NN const SV * const pattern|const U32 flags Ap |char* |re_intuit_start|NN REGEXP * const rx|NULLOK SV* sv|NN char* strpos \ |NN char* strend|const U32 flags \ - |NULLOK struct re_scream_pos_data_s *data + |NULLOK re_scream_pos_data *data Ap |SV* |re_intuit_string|NN REGEXP * const rx Ap |I32 |regexec_flags |NN REGEXP * const rx|NN char* stringarg \ |NN char* strend|NN char* strbeg|I32 minend \ @@ -4421,7 +4421,7 @@ typedef I32 (CPERLscope(*regexec_t)) (pTHX_ regexp* prog, char* stringarg, typedef char* (CPERLscope(*re_intuit_start_t)) (pTHX_ regexp *prog, SV *sv, char *strpos, char *strend, U32 flags, - struct re_scream_pos_data_s *d); + re_scream_pos_data *d); typedef SV* (CPERLscope(*re_intuit_string_t)) (pTHX_ regexp *prog); typedef void (CPERLscope(*regfree_t)) (pTHX_ struct regexp* r); typedef regexp*(CPERLscope(*regdupe_t)) (pTHX_ const regexp* r, CLONE_PARAMS *param); @@ -1873,7 +1873,7 @@ PERL_CALLCONV REGEXP* Perl_pregcomp(pTHX_ const SV * const pattern, const U32 fl PERL_CALLCONV REGEXP* Perl_re_compile(pTHX_ const SV * const pattern, const U32 flags) __attribute__nonnull__(pTHX_1); -PERL_CALLCONV char* Perl_re_intuit_start(pTHX_ REGEXP * const rx, SV* sv, char* strpos, char* strend, const U32 flags, struct re_scream_pos_data_s *data) +PERL_CALLCONV char* Perl_re_intuit_start(pTHX_ REGEXP * const rx, SV* sv, char* strpos, char* strend, const U32 flags, re_scream_pos_data *data) __attribute__nonnull__(pTHX_1) __attribute__nonnull__(pTHX_3) __attribute__nonnull__(pTHX_4); @@ -373,7 +373,7 @@ Perl_pregexec(pTHX_ REGEXP * const prog, char* stringarg, register char *strend, char * Perl_re_intuit_start(pTHX_ REGEXP * const prog, SV *sv, char *strpos, - char *strend, U32 flags, re_scream_pos_data *data) + char *strend, const U32 flags, re_scream_pos_data *data) { dVAR; register I32 start_shift = 0; @@ -117,8 +117,8 @@ typedef struct regexp_engine { char* strbeg, I32 minend, SV* screamer, void* data, U32 flags); char* (*intuit) (pTHX_ REGEXP * const rx, SV *sv, char *strpos, - char *strend, U32 flags, - struct re_scream_pos_data_s *data); + char *strend, const U32 flags, + re_scream_pos_data *data); SV* (*checkstr) (pTHX_ REGEXP * const rx); void (*free) (pTHX_ REGEXP * const rx); void (*numbered_buff_get) (pTHX_ REGEXP * const rx, |