Keep RTC API prototypes even when not enabled

Keep the prototypes in rtc_api.h even when DEVICE_RTC is not defined.
This allows devices that aren't fully compliant with the RTC API to
still use the header and prototypes.
pull/7009/head
Russ Butler 2017-10-24 15:59:57 -05:00 committed by Bartek Szatkowski
parent efd307fa79
commit 77637682a0
1 changed files with 0 additions and 4 deletions

View File

@ -21,8 +21,6 @@
#include "device.h"
#if DEVICE_RTC
#include <time.h>
#ifdef __cplusplus
@ -72,6 +70,4 @@ void rtc_write(time_t t);
#endif
#endif
/** @}*/