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:
@@ -117,8 +117,7 @@ rtc_init(kernel_args *args)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// #pragma mark -
|
// #pragma mark - public kernel API
|
||||||
// public kernel API
|
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -290,7 +289,23 @@ rtc_secs_to_tm(uint32 seconds, struct tm *t)
|
|||||||
|
|
||||||
|
|
||||||
// #pragma mark -
|
// #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
|
bigtime_t
|
||||||
|
|||||||
Reference in New Issue
Block a user