From: Steve Hay Date: Fri, 1 Jul 2005 15:15:23 +0000 (+0000) Subject: Silence MinGW warning about "'noreturn' function does return" X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d951c35852a72e504eea00883fb91f69a81b8ce3;p=p5sagit%2Fp5-mst-13.2.git Silence MinGW warning about "'noreturn' function does return" (Thanks to Nicholas Clark) p4raw-id: //depot/perl@25041 --- diff --git a/iperlsys.h b/iperlsys.h index 883f935..f84852d 100644 --- a/iperlsys.h +++ b/iperlsys.h @@ -915,8 +915,10 @@ struct IPerlProcInfo; typedef void (*LPProcAbort)(struct IPerlProc*); typedef char* (*LPProcCrypt)(struct IPerlProc*, const char*, const char*); -typedef void (*LPProcExit)(struct IPerlProc*, int); -typedef void (*LPProc_Exit)(struct IPerlProc*, int); +typedef void (*LPProcExit)(struct IPerlProc*, int) + __attribute__noreturn__; +typedef void (*LPProc_Exit)(struct IPerlProc*, int) + __attribute__noreturn__; typedef int (*LPProcExecl)(struct IPerlProc*, const char*, const char*, const char*, const char*, const char*);