Call the correct kill() and getpid() syscalls rather than _kill() and _getpid().

This commit is contained in:
dtrg 2010-10-02 21:51:40 +00:00
parent a33473e0a5
commit 075cb488a3

View file

@ -9,13 +9,10 @@
#endif
#include <signal.h>
int _kill(int pid, int sig);
int _getpid(void);
int
raise(int sig)
{
if (sig < 0 || sig > _NSIG)
return -1;
return _kill(_getpid(), sig);
return kill(getpid(), sig);
}