#ifndef DICT_H_INCLUDED
#define DICT_H_INCLUDED
-#ifdef cplusplus
+#ifdef __cplusplus
extern "C" {
#endif
int dict_remove(dict_t *d, const char *key);
-#ifdef cplusplus
+#ifdef __cplusplus
}
#endif
#ifndef MKDIRP_H_INCLUDED
#define MKDIRP_H_INCLUDED
-#ifdef cplusplus
+#ifdef __cplusplus
extern "C" {
#endif
extern int mkdirp(const char *pathname, mode_t mode);
-#ifdef cplusplus
+#ifdef __cplusplus
}
#endif
#ifndef NET_H_
#define NET_H_
-#ifdef cplusplus
+#ifdef __cplusplus
extern "C" {
#endif
extern int64_t sendfile_tm(int out_fd, int in_fd, int64_t count, int timeout);
-#ifdef cplusplus
+#ifdef __cplusplus
}
#endif
#ifndef STR_H_
#define STR_H_
-#ifdef cplusplus
+#ifdef __cplusplus
extern "C" {
#endif
}
-#ifdef cplusplus
+#ifdef __cplusplus
}
#endif
*
*/
-#ifdef cplusplus
+#ifdef __cplusplus
#warning "You probably do not want to use this code in a C++ project!"
#endif
#ifndef TMALLOC_H_INCLUDED
#define TMALLOC_H_INCLUDED
-#ifdef cplusplus
+#ifdef __cplusplus
#warning "You probably do not want to use this code in a C++ project!"
extern "C" {
#endif
extern void tmalloc_stat(void);
-#ifdef cplusplus
+#ifdef __cplusplus
}
#endif