X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Furi.h;h=7f6ab00a103836955a155791a0fd2d007a8e13b1;hb=4878de5c7deb512bbdac4fdfc498907efa06fb7c;hp=3a02dda5c228f7b676f5ae966f27991afcb812ec;hpb=a6bc4ca9d659caf016ef932fcd944029737ac57c;p=lttng-tools.git diff --git a/src/common/uri.h b/src/common/uri.h index 3a02dda5c..7f6ab00a1 100644 --- a/src/common/uri.h +++ b/src/common/uri.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2012 David Goulet * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ @@ -12,10 +12,6 @@ #include #include -#if defined(__cplusplus) -extern "C" { -#endif - /* Destination type of lttng URI */ enum lttng_dst_type { LTTNG_DST_IPV4 = 1, @@ -77,8 +73,4 @@ ssize_t uri_parse_str_urls(const char *ctrl_url, const char *data_url, struct lttng_uri **uris); int uri_to_str_url(struct lttng_uri *uri, char *dst, size_t size); -#if defined(__cplusplus) -} -#endif - #endif /* _LTT_URI_H */