diff --git a/headers/private/kernel/real_time_clock.h b/headers/private/kernel/real_time_clock.h index 51937cc56d..960ef2c157 100644 --- a/headers/private/kernel/real_time_clock.h +++ b/headers/private/kernel/real_time_clock.h @@ -1,6 +1,6 @@ /* ** Copyright 2003, Jeff Ward, jeff@r2d2.stcloudstate.edu. All rights reserved. -** Distributed under the terms of the OpenBeOS License. +** Distributed under the terms of the Haiku License. */ #ifndef _KERNEL_REAL_TIME_CLOCK_H #define _KERNEL_REAL_TIME_CLOCK_H @@ -13,13 +13,11 @@ extern "C" { #endif -status_t rtc_init(kernel_args *ka); - // Initialize the real-time clock. - +status_t rtc_init(kernel_args *args); bigtime_t rtc_boot_time(void); // Returns the time at which the system was booted in microseconds since Jan 1, 1970. -void _user_set_real_time_clock(uint32 time); +status_t _user_set_real_time_clock(uint32 time); #ifdef __cplusplus } diff --git a/headers/private/kernel/syscalls.h b/headers/private/kernel/syscalls.h index 2343073077..4e8af4a511 100644 --- a/headers/private/kernel/syscalls.h +++ b/headers/private/kernel/syscalls.h @@ -183,7 +183,7 @@ extern status_t _kern_stop_watching(dev_t device, ino_t node, uint32 flags, port_id port, uint32 token); // time functions -extern void _kern_set_real_time_clock(uint32 time); +extern status_t _kern_set_real_time_clock(uint32 time); // area functions area_id _kern_create_area(const char *name, void **address, uint32 addressSpec,