X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2Ffcntl.h;h=5e566e500ffc76967230312d297aed927b3ed14e;hb=c922647daed3dd022be11980063b5fb816d8c091;hp=8bbdfe89cc75c122bda2ea7b77db27ca0727ebf6;hpb=740da7d5000ca1ffdcf14bda5096bf7ccfb86bdd;p=lttng-tools.git diff --git a/src/common/compat/fcntl.h b/src/common/compat/fcntl.h index 8bbdfe89c..5e566e500 100644 --- a/src/common/compat/fcntl.h +++ b/src/common/compat/fcntl.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2011 David Goulet * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ @@ -13,10 +13,6 @@ #include -#ifdef __cplusplus -extern "C" { -#endif - #if (defined(__CYGWIN__)) typedef long long off64_t; #endif @@ -68,8 +64,4 @@ static inline ssize_t splice(int fd_in, loff_t *off_in, int fd_out, loff_t *off_ #error "Please add support for your OS." #endif /* __linux__ , __FreeBSD__, __CYGWIN__, __sun__, __APPLE__ */ -#ifdef __cplusplus -} -#endif - #endif /* _COMPAT_FCNTL_H */