Applied our style guide, made the headers C++ safe.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5139 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2003-10-24 11:58:21 +00:00
parent d8a7172a91
commit a34e8cc39f
2 changed files with 24 additions and 6 deletions
@@ -5,11 +5,21 @@
#ifndef KERNEL_ARCH_REAL_TIME_CLOCK_H
#define KERNEL_ARCH_REAL_TIME_CLOCK_H
#include <kernel.h>
#ifdef __cplusplus
extern "C" {
#endif
void arch_rtc_set_hw_time(uint32 seconds);
// Set HW clock to 'seconds' since 1/1/1970
uint32 arch_rtc_get_hw_time(void);
// Returns number of seconds since 1/1/1970 as stored in HW
#ifdef __cplusplus
}
#endif
#endif /* KERNEL_ARCH_REAL_TIME_CLOCK_H */