summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorDaniel Dragan <bulk88@hotmail.com>2012-10-09 23:17:47 -0400
committerSteve Hay <steve.m.hay@googlemail.com>2012-10-17 23:55:10 +0100
commit084b56d791cbec7ea432275f145ade3b5441904d (patch)
tree76209985993bf48018724ebebca2611a7ad33a13 /win32
parent7dc65651902f0390dfb92783b32c0b4976885475 (diff)
downloadperl-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.h4
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);