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

@@ -3,6 +3,10 @@
#include "lwip/sys.h"
#ifdef __cplusplus
extern "C" {
#endif
/** How many bytes in fifo */
#define FIFOSIZE 2048
@@ -50,5 +54,9 @@ void fifoPut(fifo_t * fifo, int fd);
*/
void fifoInit(fifo_t * fifo);
#ifdef __cplusplus
}
#endif
#endif