From: Gisle Aas Date: Mon, 2 Mar 1998 13:00:45 +0000 (+0100) Subject: External symbol re_croak2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d6582e46845f6c37893e96dbdd201cd0601d3550;p=p5sagit%2Fp5-mst-13.2.git External symbol re_croak2 p4raw-id: //depot/perl@780 --- diff --git a/regcomp.c b/regcomp.c index 55576d0..4a46c7a 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 b46c14f..a09ade7 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));