Moved _user_system_time() to real_time_clock.c.

Renamed _user_set_tzspecs() to _user_set_timezone().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10252 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2004-11-26 15:00:27 +00:00
parent 9b6593acae
commit 0d96fb1167
2 changed files with 7 additions and 6 deletions

View File

@ -17,10 +17,11 @@ status_t rtc_init(kernel_args *args);
bigtime_t rtc_system_time_offset(void);
// Returns the time at which the system was booted in microseconds since Jan 1, 1970 (local or GMT).
bigtime_t _user_system_time(void);
status_t _user_set_real_time_clock(uint32 time);
status_t _user_set_tzspecs(int32 timezone_offset, bool dst_observed);
status_t _user_set_tzfilename(const char* filename, size_t length, bool is_gmt);
status_t _user_get_tzfilename(char *filename, size_t length, bool *is_gmt);
status_t _user_set_timezone(int32 timezoneOffset, bool daylightSavingTime);
status_t _user_set_tzfilename(const char* filename, size_t length, bool isGMT);
status_t _user_get_tzfilename(char *filename, size_t length, bool *_isGMT);
#ifdef __cplusplus
}

View File

@ -186,9 +186,9 @@ extern status_t _kern_stop_watching(dev_t device, ino_t node, uint32 flags,
// time functions
extern status_t _kern_set_real_time_clock(uint32 time);
extern status_t _kern_set_tzspecs(int32 timezone_offset, bool dst_observed);
extern status_t _kern_set_tzfilename(const char *filename, size_t length, bool is_gmt);
extern status_t _kern_get_tzfilename(char *filename, size_t length, bool *is_gmt);
extern status_t _kern_set_timezone(int32 timezoneOffset, bool daylightSavingTime);
extern status_t _kern_set_tzfilename(const char *filename, size_t length, bool isGMT);
extern status_t _kern_get_tzfilename(char *filename, size_t length, bool *_isGMT);
extern bigtime_t _kern_system_time();
extern status_t _kern_snooze_etc(bigtime_t time, int timebase, int32 flags);