X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2Ffcntl.h;fp=src%2Fcommon%2Fcompat%2Ffcntl.h;h=b18e2f4e76d653b2810e1bd8892edbd9031d1b90;hp=8bbdfe89cc75c122bda2ea7b77db27ca0727ebf6;hb=b66cbf1731486ab4dc7e0b2e1c3fa05cc5360c19;hpb=729c1fec5976af17fded2f026725a08ef1924290 diff --git a/src/common/compat/fcntl.h b/src/common/compat/fcntl.h index 8bbdfe89c..b18e2f4e7 100644 --- a/src/common/compat/fcntl.h +++ b/src/common/compat/fcntl.h @@ -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 */