diff options
author | Karl Williamson <public@khwilliamson.com> | 2013-08-15 14:49:37 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2013-09-24 11:36:17 -0600 |
commit | c8a279645383868d6f9ab609e7eb2f091a5e296f (patch) | |
tree | 1ca8d97c3d5b5e90d9039cc7421cb9131e38a266 | |
parent | db17973a7879fcb6ada1024d1c72e99a944746d1 (diff) | |
download | perl-c8a279645383868d6f9ab609e7eb2f091a5e296f.tar.gz |
regcomp.c: Change some static parameters to const
I found I needed const in a future commit.
-rw-r--r-- | embed.fnc | 4 | ||||
-rw-r--r-- | proto.h | 2 | ||||
-rw-r--r-- | regcomp.c | 2 |
3 files changed, 4 insertions, 4 deletions
@@ -2072,8 +2072,8 @@ Es |SSize_t|study_chunk |NN RExC_state_t *pRExC_state \ |I32 stopparen|NULLOK U8* recursed \ |NULLOK regnode_ssc *and_withp \ |U32 flags|U32 depth -EsRn |U32 |add_data |NN RExC_state_t *pRExC_state|U32 n \ - |NN const char *s +EsRn |U32 |add_data |NN RExC_state_t* const pRExC_state \ + |const U32 n|NN const char* const s rs |void |re_croak2 |bool utf8|NN const char* pat1|NN const char* pat2|... Ei |I32 |regpposixcc |NN RExC_state_t *pRExC_state \ |I32 value|const bool strict @@ -6533,7 +6533,7 @@ STATIC SV* S__new_invlist_C_array(pTHX_ const UV* const list) PERL_STATIC_INLINE SV* S_add_cp_to_invlist(pTHX_ SV* invlist, const UV cp) __attribute__warn_unused_result__; -STATIC U32 S_add_data(RExC_state_t *pRExC_state, U32 n, const char *s) +STATIC U32 S_add_data(RExC_state_t* const pRExC_state, const U32 n, const char* const s) __attribute__warn_unused_result__ __attribute__nonnull__(1) __attribute__nonnull__(3); @@ -4763,7 +4763,7 @@ PerlIO_printf(Perl_debug_log, "LHS=%"UVdf" RHS=%"UVdf"\n", } STATIC U32 -S_add_data(RExC_state_t *pRExC_state, U32 n, const char *s) +S_add_data(RExC_state_t* const pRExC_state, const U32 n, const char* const s) { U32 count = RExC_rxi->data ? RExC_rxi->data->count : 0; |