mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-28 15:40:23 +08:00
Add c linkage guard to simplelink header
Closes cesanta/mongoose#649 PUBLISHED_FROM=deb804a1257f8a6ecc4bf0f877b70c32f1d39e43
This commit is contained in:
parent
38752f1327
commit
9939212379
@ -715,6 +715,10 @@ int _stat(const char *pathname, struct stat *st);
|
||||
|
||||
#define SOMAXCONN 8
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
const char *inet_ntop(int af, const void *src, char *dst, socklen_t size);
|
||||
char *inet_ntoa(struct in_addr in);
|
||||
int inet_pton(int af, const char *src, void *dst);
|
||||
@ -728,6 +732,10 @@ void mg_run_in_task(void (*cb)(struct mg_mgr *mgr, void *arg), void *cb_arg);
|
||||
|
||||
int sl_fs_init();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* defined(MG_SOCKET_SIMPLELINK) && !defined(__SIMPLELINK_H__) */
|
||||
|
||||
#endif /* CS_COMMON_PLATFORMS_SIMPLELINK_CS_SIMPLELINK_H_ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user