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 #endif
#include <signal.h> #include <signal.h>
int _kill(int pid, int sig);
int _getpid(void);
int int
raise(int sig) raise(int sig)
{ {
if (sig < 0 || sig > _NSIG) if (sig < 0 || sig > _NSIG)
return -1; return -1;
return _kill(_getpid(), sig); return kill(getpid(), sig);
} }