Broke the build once more: didn't remember that gettimeofday() was built
for the kernel as well, and thus we need to export _kern_get_timezone(), too. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16792 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
d1b62548b1
commit
baf7b0adf0
@ -117,8 +117,7 @@ rtc_init(kernel_args *args)
|
||||
}
|
||||
|
||||
|
||||
// #pragma mark -
|
||||
// public kernel API
|
||||
// #pragma mark - public kernel API
|
||||
|
||||
|
||||
void
|
||||
@ -290,7 +289,23 @@ rtc_secs_to_tm(uint32 seconds, struct tm *t)
|
||||
|
||||
|
||||
// #pragma mark -
|
||||
// public userland API
|
||||
|
||||
|
||||
/** This is called from the gettimeofday() implementation that's part of the
|
||||
* kernel.
|
||||
*/
|
||||
|
||||
status_t
|
||||
_kern_get_timezone(time_t *_timezoneOffset, bool *_daylightSavingTime)
|
||||
{
|
||||
*_timezoneOffset = (time_t)(sTimezoneOffset / 1000000LL);
|
||||
*_daylightSavingTime = sDaylightSavingTime;
|
||||
|
||||
return B_OK;
|
||||
}
|
||||
|
||||
|
||||
// #pragma mark - syscalls
|
||||
|
||||
|
||||
bigtime_t
|
||||
|
Loading…
Reference in New Issue
Block a user