contrib: fixed c++ compatibility of unix port

This commit is contained in:
Sebastian Michel
2024-01-04 08:31:28 +01:00
committed by goldsimon
parent 347054b329
commit e1b8080346
9 changed files with 72 additions and 0 deletions

View File

@@ -6,6 +6,10 @@
#include "netif/fifo.h"
/*#include "netif/pppif.h"*/
#ifdef __cplusplus
extern "C" {
#endif
struct sio_status_s {
int fd;
fifo_t myfifo;
@@ -56,5 +60,9 @@ void sio_flush( sio_status_t * siostat );
*/
void sio_change_baud( sioBaudrates baud, sio_status_t * siostat );
#ifdef __cplusplus
}
#endif
#endif