add PERL_CALLCONV_NO_RET to perlhost.h's PerlProcExit and PerlProc_Exit
authorDaniel Dragan <bulk88@hotmail.com>
Wed, 10 Oct 2012 03:17:47 +0000 (23:17 -0400)
committerSteve Hay <steve.m.hay@googlemail.com>
Wed, 17 Oct 2012 22:55:10 +0000 (23:55 +0100)
This gives noreturn to the 2 functions on Visual C Perl.

win32/perlhost.h

index f2bb133..3f18126 100644 (file)
@@ -1534,13 +1534,13 @@ PerlProcCrypt(struct IPerlProc* piPerl, const char* clear, const char* salt)
     return win32_crypt(clear, salt);
 }
 
-void
+PERL_CALLCONV_NO_RET void
 PerlProcExit(struct IPerlProc* piPerl, int status)
 {
     exit(status);
 }
 
-void
+PERL_CALLCONV_NO_RET void
 PerlProc_Exit(struct IPerlProc* piPerl, int status)
 {
     _exit(status);