mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-12 01:53:07 +03:00
* Add extern C guard blocks to SDK header files #1352 * fixed some extern C blocks in core and libraries
This commit is contained in:
@ -27,6 +27,10 @@
|
||||
|
||||
#include "c_types.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct ip_addr {
|
||||
uint32 addr;
|
||||
};
|
||||
@ -84,4 +88,9 @@ uint32 ipaddr_addr(const char *cp);
|
||||
|
||||
#define IPSTR "%d.%d.%d.%d"
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __IP_ADDR_H__ */
|
||||
|
Reference in New Issue
Block a user