From d951c35852a72e504eea00883fb91f69a81b8ce3 Mon Sep 17 00:00:00 2001 From: Steve Hay Date: Fri, 1 Jul 2005 15:15:23 +0000 Subject: [PATCH] Silence MinGW warning about "'noreturn' function does return" (Thanks to Nicholas Clark) p4raw-id: //depot/perl@25041 --- iperlsys.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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*); -- 1.8.3.1