Use a weak symbol for signalcontext().

This commit is contained in:
Jonathan Mini 2002-09-17 03:15:47 +00:00
parent 1d6e1c66b2
commit 7630ea31ed

View File

@ -36,10 +36,12 @@ __FBSDID("$FreeBSD");
#include <machine/psl.h>
#include <machine/sigframe.h>
__weak_reference(__signalcontext, signalcontext);
extern void _ctx_start(ucontext_t *, int argc, ...);
int
signalcontext(ucontext_t *ucp, int sig, __sighandler_t *func)
__signalcontext(ucontext_t *ucp, int sig, __sighandler_t *func)
{
struct sigframe *sfp;
int *p;