Make raise and _raise as weak symbols, so they can be overriden by
thread library. Reviewed by: deischen
This commit is contained in:
parent
5a201fddb7
commit
5e27d6ab96
@ -40,8 +40,11 @@ __FBSDID("$FreeBSD$");
|
|||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
|
__weak_reference(__raise, raise);
|
||||||
|
__weak_reference(__raise, _raise);
|
||||||
|
|
||||||
int
|
int
|
||||||
raise(s)
|
__raise(s)
|
||||||
int s;
|
int s;
|
||||||
{
|
{
|
||||||
return(kill(getpid(), s));
|
return(kill(getpid(), s));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user