public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a33473e
)
Call the correct kill() and getpid() syscalls rather than _kill() and _getpid().
author
dtrg
<none@none>
Sat, 2 Oct 2010 21:51:40 +0000
(21:51 +0000)
committer
dtrg
<none@none>
Sat, 2 Oct 2010 21:51:40 +0000
(21:51 +0000)
lang/cem/libcc.ansi/signal/raise.c
patch
|
blob
|
history
diff --git
a/lang/cem/libcc.ansi/signal/raise.c
b/lang/cem/libcc.ansi/signal/raise.c
index
4dfc504
..
da37897
100644
(file)
--- a/
lang/cem/libcc.ansi/signal/raise.c
+++ b/
lang/cem/libcc.ansi/signal/raise.c
@@
-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);
}