diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-06-02 04:47:10 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-06-02 04:47:10 +0000 |
commit | 20ce7b12268a3d32b5b246928de5084322e709cf (patch) | |
tree | 395ce45dee07dabd92553cbcdad9b91e37e8ae49 /regexec.c | |
parent | 0221c164222f9d91820826506118f46ffa08dd46 (diff) | |
download | perl-20ce7b12268a3d32b5b246928de5084322e709cf.tar.gz |
remove _() non-ansism
p4raw-id: //depot/perl@3518
Diffstat (limited to 'regexec.c')
-rw-r--r-- | regexec.c | 28 |
1 files changed, 14 insertions, 14 deletions
@@ -98,18 +98,18 @@ typedef I32 CHECKPOINT; * Forwards. */ -static I32 regmatch _((regnode *prog)); -static I32 regrepeat _((regnode *p, I32 max)); -static I32 regrepeat_hard _((regnode *p, I32 max, I32 *lp)); -static I32 regtry _((regexp *prog, char *startpos)); - -static bool reginclass _((char *p, I32 c)); -static bool reginclassutf8 _((regnode *f, U8* p)); -static CHECKPOINT regcppush _((I32 parenfloor)); -static char * regcppop _((void)); -static char * regcp_set_to _((I32 ss)); -static void cache_re _((regexp *prog)); -static void restore_pos _((void *arg)); +static I32 regmatch (regnode *prog); +static I32 regrepeat (regnode *p, I32 max); +static I32 regrepeat_hard (regnode *p, I32 max, I32 *lp); +static I32 regtry (regexp *prog, char *startpos); + +static bool reginclass (char *p, I32 c); +static bool reginclassutf8 (regnode *f, U8* p); +static CHECKPOINT regcppush (I32 parenfloor); +static char * regcppop (void); +static char * regcp_set_to (I32 ss); +static void cache_re (regexp *prog); +static void restore_pos (void *arg); #endif #define REGINCLASS(p,c) (*(p) ? reginclass(p,c) : ANYOF_TEST(p,c)) @@ -119,8 +119,8 @@ static void restore_pos _((void *arg)); #define CHR_DIST(a,b) (UTF ? utf8_distance(a,b) : a - b) #ifndef PERL_OBJECT -static U8 * reghop _((U8 *pos, I32 off)); -static U8 * reghopmaybe _((U8 *pos, I32 off)); +static U8 * reghop (U8 *pos, I32 off); +static U8 * reghopmaybe (U8 *pos, I32 off); #endif #define reghop_c(pos,off) ((char*)reghop((U8*)pos, off)) #define reghopmaybe_c(pos,off) ((char*)reghopmaybe((U8*)pos, off)) |