mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
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
1 changed files with 4 additions and 1 deletions
|
|
@ -40,8 +40,11 @@ __FBSDID("$FreeBSD$");
|
|||
#include <signal.h>
|
||||
#include <unistd.h>
|
||||
|
||||
__weak_reference(__raise, raise);
|
||||
__weak_reference(__raise, _raise);
|
||||
|
||||
int
|
||||
raise(s)
|
||||
__raise(s)
|
||||
int s;
|
||||
{
|
||||
return(kill(getpid(), s));
|
||||
|
|
|
|||
Loading…
Reference in a new issue