From: Daniel Dragan Date: Wed, 10 Oct 2012 03:17:47 +0000 (-0400) Subject: add PERL_CALLCONV_NO_RET to perlhost.h's PerlProcExit and PerlProc_Exit X-Git-Tag: upstream/5.20.0~5098 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=084b56d791cbec7ea432275f145ade3b5441904d;p=platform%2Fupstream%2Fperl.git add PERL_CALLCONV_NO_RET to perlhost.h's PerlProcExit and PerlProc_Exit This gives noreturn to the 2 functions on Visual C Perl. --- diff --git a/win32/perlhost.h b/win32/perlhost.h index f2bb133..3f18126 100644 --- a/win32/perlhost.h +++ b/win32/perlhost.h @@ -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);