summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-06-02 04:47:10 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-06-02 04:47:10 +0000
commit20ce7b12268a3d32b5b246928de5084322e709cf (patch)
tree395ce45dee07dabd92553cbcdad9b91e37e8ae49 /regexec.c
parent0221c164222f9d91820826506118f46ffa08dd46 (diff)
downloadperl-20ce7b12268a3d32b5b246928de5084322e709cf.tar.gz
remove _() non-ansism
p4raw-id: //depot/perl@3518
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/regexec.c b/regexec.c
index 5806767d1e..a61c88a27d 100644
--- a/regexec.c
+++ b/regexec.c
@@ -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))