X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcommon%2Frandom.cpp;h=5a038a563e12b339a25f307cf4e83cc12c6d1bfc;hb=28f23191dcbf047429d51950a337a57d7a3f866a;hp=dfab9538c0cab31cd4f556547a9f4e7b261d7fe3;hpb=f250b40e2179eccdb83766bf4abef5a35036c47b;p=lttng-tools.git diff --git a/src/common/random.cpp b/src/common/random.cpp index dfab9538c..5a038a563 100644 --- a/src/common/random.cpp +++ b/src/common/random.cpp @@ -73,9 +73,8 @@ void getrandom_nonblock(char *out_data, std::size_t size) } } #else /* defined(__linux__) && defined(SYS_getrandom) && defined(HAVE_SYS_RANDOM_H) */ -__attribute__((noreturn)) -void getrandom_nonblock(char *out_data __attribute__((unused)), - std::size_t size __attribute__((unused))) +__attribute__((noreturn)) void getrandom_nonblock(char *out_data __attribute__((unused)), + std::size_t size __attribute__((unused))) { LTTNG_THROW_RANDOM_PRODUCTION_ERROR("getrandom() is not supported by this platform"); }