Add missing extern "C" to header files (closes #104)
This commit is contained in:
committed by
Graham Sanderson
parent
32ada8a2de
commit
b34995a549
@ -28,6 +28,9 @@
|
||||
* \include hello_rtc.c
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef void (*rtc_callback_t)(void);
|
||||
|
||||
@ -71,4 +74,8 @@ void rtc_set_alarm(datetime_t *t, rtc_callback_t user_callback);
|
||||
*/
|
||||
void rtc_disable_alarm(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user