-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Closed
Description
Hi,
This appears to be missing from sntp.h and also the other include files.
Danny
acer: {541} diff -c sntp.h~ sntp.h
*** sntp.h~ 2015-11-24 09:50:33.000000000 +0100
--- sntp.h 2016-01-02 15:45:41.976664979 +0100
***************
*** 7,12 ****
--- 7,17 ----
#else
#include "ip_addr.h"
#endif
+
+ #if defined(__cplusplus)
+ extern "C" {
+ #endif
+
/**
* get the seconds since Jan 01, 1970, 00:00 (GMT + 8)
*/
***************
*** 66,68 ****
--- 71,77 ----
#define sntp_servermode_dhcp(x)
#endif
+
+ #if defined(__cplusplus)
+ }
+ #endif
acer: {542}
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.