Browse Source

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

dtrg 13 years ago
parent
commit
4bc87420d1
1 changed files with 1 additions and 4 deletions
  1. 1 4
      lang/cem/libcc.ansi/signal/raise.c

+ 1 - 4
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);
 }