Missing extern C in datetime.h #581 (#584)

This commit is contained in:
Graham Sanderson 2021-10-04 15:17:00 -05:00 committed by GitHub
parent 3c53029c24
commit 0fdf543126
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,6 +9,10 @@
#include "pico.h" #include "pico.h"
#ifdef __cplusplus
extern "C" {
#endif
/** \file datetime.h /** \file datetime.h
* \defgroup util_datetime datetime * \defgroup util_datetime datetime
* \brief Date/Time formatting * \brief Date/Time formatting
@ -24,4 +28,7 @@
*/ */
void datetime_to_str(char *buf, uint buf_size, const datetime_t *t); void datetime_to_str(char *buf, uint buf_size, const datetime_t *t);
#ifdef __cplusplus
}
#endif
#endif #endif