summaryrefslogtreecommitdiff
path: root/klibc/klibc/alarm.c
diff options
context:
space:
mode:
Diffstat (limited to 'klibc/klibc/alarm.c')
-rw-r--r--klibc/klibc/alarm.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/klibc/klibc/alarm.c b/klibc/klibc/alarm.c
index ca7bb37f92..40c0969432 100644
--- a/klibc/klibc/alarm.c
+++ b/klibc/klibc/alarm.c
@@ -5,11 +5,7 @@
#include <sys/time.h>
#include <sys/syscall.h>
-#ifdef __NR_alarm
-
-_syscall1(unsigned int,alarm,unsigned int,seconds);
-
-#else
+#ifndef __NR_alarm
/* Emulate alarm() via setitimer() */