Remove extern "C" from internal headers
[lttng-tools.git] / src / common / sessiond-comm / inet.h
index 9aec36cf13c4e1b7650147b71ac22f921028e3e0..fd7cffedef1c11edb6d615e05b30f855365800cf 100644 (file)
 
 #include "sessiond-comm.h"
 
 
 #include "sessiond-comm.h"
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
 /* See man tcp(7) for more detail about this value. */
 #define LTTCOMM_INET_PROC_SYN_RETRIES_PATH "/proc/sys/net/ipv4/tcp_syn_retries"
 #define LTTCOMM_INET_PROC_FIN_TIMEOUT_PATH "/proc/sys/net/ipv4/tcp_fin_timeout"
 /* See man tcp(7) for more detail about this value. */
 #define LTTCOMM_INET_PROC_SYN_RETRIES_PATH "/proc/sys/net/ipv4/tcp_syn_retries"
 #define LTTCOMM_INET_PROC_FIN_TIMEOUT_PATH "/proc/sys/net/ipv4/tcp_fin_timeout"
@@ -57,8 +53,4 @@ extern ssize_t lttcomm_sendmsg_inet_sock(struct lttcomm_sock *sock,
 /* Initialize inet communication layer. */
 extern void lttcomm_inet_init(void);
 
 /* Initialize inet communication layer. */
 extern void lttcomm_inet_init(void);
 
-#ifdef __cplusplus
-}
-#endif
-
 #endif /* _LTTCOMM_INET_H */
 #endif /* _LTTCOMM_INET_H */
This page took 0.023188 seconds and 4 git commands to generate.