summaryrefslogtreecommitdiff
path: root/iperlsys.h
diff options
context:
space:
mode:
authorSteve Hay <SteveHay@planit.com>2005-07-01 15:15:23 +0000
committerSteve Hay <SteveHay@planit.com>2005-07-01 15:15:23 +0000
commitd951c35852a72e504eea00883fb91f69a81b8ce3 (patch)
tree5ad7d5fde24df46c8ac01712c24c32a1d5abe833 /iperlsys.h
parentc483e0e5d641b0a60b555586af1d0a8c8f0daf5b (diff)
downloadperl-d951c35852a72e504eea00883fb91f69a81b8ce3.tar.gz
Silence MinGW warning about "'noreturn' function does return"
(Thanks to Nicholas Clark) p4raw-id: //depot/perl@25041
Diffstat (limited to 'iperlsys.h')
-rw-r--r--iperlsys.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/iperlsys.h b/iperlsys.h
index 883f9357ef..f84852de16 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*);