summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGisle Aas <gisle@aas.no>1998-03-02 14:00:45 +0100
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1998-03-05 19:02:50 +0000
commitd6582e46845f6c37893e96dbdd201cd0601d3550 (patch)
treec9d944afd23bd078e038189b6e55cba307f207bc
parentf7d144c835d02593edb2388cf7cb0c7395c53ae2 (diff)
downloadperl-d6582e46845f6c37893e96dbdd201cd0601d3550.tar.gz
External symbol re_croak2
p4raw-id: //depot/perl@780
-rw-r--r--regcomp.c5
-rw-r--r--regcomp.h2
2 files changed, 3 insertions, 4 deletions
diff --git a/regcomp.c b/regcomp.c
index 55576d0bf1..4a46c7abe0 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -131,6 +131,7 @@ static void regset _((char *, I32));
static void regtail _((regnode *, regnode *));
static char* regwhite _((char *, char *));
static char* nextchar _((void));
+static void re_croak2 _((const char* pat1,const char* pat2,...)) __attribute__((noreturn));
static U32 regseen;
static I32 seen_zerolen;
@@ -2621,11 +2622,11 @@ regnext(register regnode *p)
}
#ifdef I_STDARG
-void
+static void
re_croak2(const char* pat1,const char* pat2,...)
#else
/*VARARGS0*/
-void
+static void
re_croak2(const char* pat1,const char* pat2, va_alist)
const char* pat1;
const char* pat2;
diff --git a/regcomp.h b/regcomp.h
index b46c14f6cd..a09ade7a87 100644
--- a/regcomp.h
+++ b/regcomp.h
@@ -447,5 +447,3 @@ const static char reg_off_by_arg[] = {
#ifdef DEBUGGING
extern char *colors[4];
#endif
-
-void re_croak2 _((const char* pat1,const char* pat2,...)) __attribute__((noreturn));