diff options
author | Daniel Dragan <bulk88@hotmail.com> | 2012-10-09 23:17:47 -0400 |
---|---|---|
committer | Steve Hay <steve.m.hay@googlemail.com> | 2012-10-17 23:55:10 +0100 |
commit | 084b56d791cbec7ea432275f145ade3b5441904d (patch) | |
tree | 76209985993bf48018724ebebca2611a7ad33a13 /win32 | |
parent | 7dc65651902f0390dfb92783b32c0b4976885475 (diff) | |
download | perl-084b56d791cbec7ea432275f145ade3b5441904d.tar.gz |
add PERL_CALLCONV_NO_RET to perlhost.h's PerlProcExit and PerlProc_Exit
This gives noreturn to the 2 functions on Visual C Perl.
Diffstat (limited to 'win32')
-rw-r--r-- | win32/perlhost.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/perlhost.h b/win32/perlhost.h index f2bb1334f1..3f18126f5d 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); |