X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fcredentials.h;h=66f2dbebf7d1fdf499fdf9441cbe32314836da25;hp=21aa33416f50bacb38aae862a3a28ceab3839307;hb=c922647daed3dd022be11980063b5fb816d8c091;hpb=7966af5763c4aaca39df9bbfa9277ff15715c720 diff --git a/src/common/credentials.h b/src/common/credentials.h index 21aa33416..66f2dbebf 100644 --- a/src/common/credentials.h +++ b/src/common/credentials.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2019 Jérémie Galarneau * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ @@ -14,10 +14,6 @@ #include "optional.h" -#ifdef __cplusplus -extern "C" { -#endif - struct lttng_credentials { LTTNG_OPTIONAL(uid_t) uid; LTTNG_OPTIONAL(gid_t) gid; @@ -36,8 +32,4 @@ bool lttng_credentials_is_equal_gid(const struct lttng_credentials *a, bool lttng_credentials_is_equal(const struct lttng_credentials *a, const struct lttng_credentials *b); -#ifdef __cplusplus -} -#endif - #endif /* LTTNG_CREDENTIALS_H */