Relicence all source and header files included in LGPL code
[lttng-tools.git] / src / common / unix.h
index e5c7435e34eb7256047304133d642eeeaf26e178..e7f9e791930a039b7d786e71cadc2bb432c83948 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright (C) 2012 David Goulet <dgoulet@efficios.com>
  *
- * SPDX-License-Identifier: GPL-2.0-only
+ * SPDX-License-Identifier: LGPL-2.1-only
  *
  */
 
 #include <common/payload.h>
 #include <common/payload-view.h>
 
-#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 */
This page took 0.023084 seconds and 4 git commands to generate.