X-Git-Url: https://git.liburcu.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fcredentials.hpp;h=70eaa77b422a022da4c903d40f4da1912de84531;hp=340e64ee96fb92a72f0aa45cc84abf5d81115804;hb=28f23191dcbf047429d51950a337a57d7a3f866a;hpb=f250b40e2179eccdb83766bf4abef5a35036c47b diff --git a/src/common/credentials.hpp b/src/common/credentials.hpp index 340e64ee9..70eaa77b4 100644 --- a/src/common/credentials.hpp +++ b/src/common/credentials.hpp @@ -8,12 +8,12 @@ #ifndef LTTNG_CREDENTIALS_H #define LTTNG_CREDENTIALS_H -#include -#include #include "macros.hpp" - #include "optional.hpp" +#include +#include + struct lttng_credentials { LTTNG_OPTIONAL(uid_t) uid; LTTNG_OPTIONAL(gid_t) gid; @@ -24,12 +24,12 @@ uid_t lttng_credentials_get_uid(const struct lttng_credentials *creds); gid_t lttng_credentials_get_gid(const struct lttng_credentials *creds); bool lttng_credentials_is_equal_uid(const struct lttng_credentials *a, - const struct lttng_credentials *b); + const struct lttng_credentials *b); bool lttng_credentials_is_equal_gid(const struct lttng_credentials *a, - const struct lttng_credentials *b); + const struct lttng_credentials *b); bool lttng_credentials_is_equal(const struct lttng_credentials *a, - const struct lttng_credentials *b); + const struct lttng_credentials *b); #endif /* LTTNG_CREDENTIALS_H */