Call the correct kill() and getpid() syscalls rather than _kill() and _getpid().
authordtrg <none@none>
Sat, 2 Oct 2010 21:51:40 +0000 (21:51 +0000)
committerdtrg <none@none>
Sat, 2 Oct 2010 21:51:40 +0000 (21:51 +0000)
lang/cem/libcc.ansi/signal/raise.c

index 4dfc504..da37897 100644 (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);
 }