summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2005-07-20 17:40:54 +0300
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-07-20 12:28:16 +0000
commit8aad04aa6a2ab20a526b53089f8919d46434ca7e (patch)
tree36435f7f090483f1ec572dafd88f2ddd20080c37 /proto.h
parenta3526348f2163e87ba8192a892f448a36aeaa1ed (diff)
downloadperl-8aad04aa6a2ab20a526b53089f8919d46434ca7e.tar.gz
support POSIX SA_SIGINFO
Message-ID: <42DE3846.6050606@gmail.com> p4raw-id: //depot/perl@25200
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index 888c991102..522ee03fe2 100644
--- a/proto.h
+++ b/proto.h
@@ -1655,8 +1655,13 @@ PERL_CALLCONV void Perl_setdefout(pTHX_ GV* gv);
PERL_CALLCONV HEK* Perl_share_hek(pTHX_ const char* str, I32 len, U32 hash)
__attribute__nonnull__(pTHX_1);
+#if defined(HAS_SIGACTION) && defined(SA_SIGINFO)
+PERL_CALLCONV Signal_t Perl_sighandler(int sig, ...);
+PERL_CALLCONV Signal_t Perl_csighandler(int sig, ...);
+#else
PERL_CALLCONV Signal_t Perl_sighandler(int sig);
PERL_CALLCONV Signal_t Perl_csighandler(int sig);
+#endif
PERL_CALLCONV SV** Perl_stack_grow(pTHX_ SV** sp, SV**p, int n)
__attribute__nonnull__(pTHX_1)
__attribute__nonnull__(pTHX_2);