X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Funix.h;fp=src%2Fcommon%2Funix.h;h=820dff0b56893f86edeb1f40f8e289a8a0b6d6b3;hp=e5c7435e34eb7256047304133d642eeeaf26e178;hb=b66cbf1731486ab4dc7e0b2e1c3fa05cc5360c19;hpb=729c1fec5976af17fded2f026725a08ef1924290 diff --git a/src/common/unix.h b/src/common/unix.h index e5c7435e3..820dff0b5 100644 --- a/src/common/unix.h +++ b/src/common/unix.h @@ -16,10 +16,6 @@ #include #include -#ifdef __cplusplus -extern "C" { -#endif - int lttcomm_create_unix_sock(const char *pathname); int lttcomm_create_anon_unix_socketpair(int *fds); int lttcomm_connect_unix_sock(const char *pathname); @@ -55,8 +51,4 @@ ssize_t lttcomm_recv_creds_unix_sock(int sock, void *buf, size_t len, int lttcomm_setsockopt_creds_unix_sock(int sock); -#ifdef __cplusplus -} -#endif - #endif /* _LTTCOMM_UNIX_H */