diff options
author | David Mitchell <davem@iabyn.com> | 2019-11-11 15:49:58 +0000 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2019-11-18 09:34:40 +0000 |
commit | dc37125bb824744e1f528311ca37da59913cda7d (patch) | |
tree | 806df16eed1b338b85f3d9e0df59090b3e54576d /intrpvar.h | |
parent | ddb513d51f5efcde057dad7932a56643647947e1 (diff) | |
download | perl-dc37125bb824744e1f528311ca37da59913cda7d.tar.gz |
add explicit 1-arg and 3-arg sig handler functions
Currently, whether the OS-level signal handler function is declared as
1-arg or 3-arg depends on the configuration. Add explicit versions of
these functions, principally so that POSIX.xs can call which version of
the handler it wants regardless of configuration: see next commit.
Diffstat (limited to 'intrpvar.h')
-rw-r--r-- | intrpvar.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/intrpvar.h b/intrpvar.h index 906a67a739..cbbbaddc08 100644 --- a/intrpvar.h +++ b/intrpvar.h @@ -611,7 +611,11 @@ PERLVAR(I, pidstatus, HV *) /* pid-to-status mappings for waitpid */ #endif PERLVAR(I, osname, char *) /* operating system */ -PERLVAR(I, sighandlerp, Sighandler_t) +PERLVAR(I, sighandlerp, Sighandler_t) +/* these two are provided only to solve library linkage issues; they + * should not be hooked by user code */ +PERLVAR(I, sighandler1p, Sighandler1_t) +PERLVAR(I, sighandler3p, Sighandler3_t) PERLVARA(I, body_roots, PERL_ARENA_ROOTS_SIZE, void*) /* array of body roots */ |