From d6582e46845f6c37893e96dbdd201cd0601d3550 Mon Sep 17 00:00:00 2001 From: Gisle Aas Date: Mon, 2 Mar 1998 14:00:45 +0100 Subject: External symbol re_croak2 p4raw-id: //depot/perl@780 --- regcomp.c | 5 +++-- regcomp.h | 2 -- 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)); -- cgit v1.2.1