diff --git a/src/system/libroot/os/time.c b/src/system/libroot/os/time.c index 0556e920e7..7ae2f99599 100644 --- a/src/system/libroot/os/time.c +++ b/src/system/libroot/os/time.c @@ -1,9 +1,13 @@ -/* - * Copyright 2002-2004, Axel Dörfler, axeld@pinc-software.de. +/* + * Copyright 2002-2006, Axel Dörfler, axeld@pinc-software.de. * Distributed under the terms of the MIT License. */ +#include +#include +#include + #include #include @@ -11,10 +15,6 @@ #include #include -#include -#include -#include - static struct real_time_data sRealTimeDefaults; static struct real_time_data *sRealTimeData; @@ -103,8 +103,7 @@ set_timezone(char *timezone) bigtime_t -set_alarm(bigtime_t when, uint32 flags) +set_alarm(bigtime_t when, uint32 mode) { - // ToDo: set_alarm() - return B_ERROR; + return _kern_set_alarm(when, mode); }