From 075cb488a3f587fbee7f2139eee0572aa51d0317 Mon Sep 17 00:00:00 2001 From: dtrg Date: Sat, 2 Oct 2010 21:51:40 +0000 Subject: [PATCH] Call the correct kill() and getpid() syscalls rather than _kill() and _getpid(). --- lang/cem/libcc.ansi/signal/raise.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lang/cem/libcc.ansi/signal/raise.c b/lang/cem/libcc.ansi/signal/raise.c index 4dfc5044f..da37897d4 100644 --- a/lang/cem/libcc.ansi/signal/raise.c +++ b/lang/cem/libcc.ansi/signal/raise.c @@ -9,13 +9,10 @@ #endif #include -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); }