X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Funix.cpp;h=0a1b1a5a54354beb1b759a7a95d6b6953d340ed2;hb=2545db87957d24f43e2e2d5c49bb56b31bb9180a;hp=beeb69572f8e48902f5dd2cb235ddc05bb683d18;hpb=942003e52b8fe43bfb8f28a1884d3bda7e6d1e0b;p=lttng-tools.git diff --git a/src/common/unix.cpp b/src/common/unix.cpp index beeb69572..0a1b1a5a5 100644 --- a/src/common/unix.cpp +++ b/src/common/unix.cpp @@ -15,12 +15,12 @@ #include #include -#include -#include -#include -#include +#include +#include +#include +#include -#include "unix.h" +#include "unix.hpp" /* * Connect to unix socket using the path name. @@ -1150,7 +1150,7 @@ int lttcomm_setsockopt_creds_unix_sock(int sock) return ret; } #elif (defined(__FreeBSD__) || defined(__sun__) || defined(__APPLE__)) -int lttcomm_setsockopt_creds_unix_sock(int sock) +int lttcomm_setsockopt_creds_unix_sock(int sock __attribute__((unused))) { return 0; }