Add missing extern "C" to header files (closes #104)

This commit is contained in:
Luke Wren
2021-02-09 14:47:16 +00:00
committed by graham sanderson
parent 0f4a5f8e60
commit d4c9dced40
11 changed files with 85 additions and 0 deletions

View File

@ -22,6 +22,10 @@
#define PICO_STDIO_SEMIHOSTING_DEFAULT_CRLF PICO_STDIO_DEFAULT_CRLF
#endif
#ifdef __cplusplus
extern "C" {
#endif
extern stdio_driver_t stdio_semihosting;
/*! \brief Explicitly initialize stdout over semihosting and add it to the current set of stdout targets
@ -31,4 +35,8 @@ extern stdio_driver_t stdio_semihosting;
*/
void stdio_semihosting_init(void);
#ifdef __cplusplus
}
#endif
#endif