From 084b56d791cbec7ea432275f145ade3b5441904d Mon Sep 17 00:00:00 2001 From: Daniel Dragan Date: Tue, 9 Oct 2012 23:17:47 -0400 Subject: [PATCH] add PERL_CALLCONV_NO_RET to perlhost.h's PerlProcExit and PerlProc_Exit This gives noreturn to the 2 functions on Visual C Perl. --- win32/perlhost.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.7.4