X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fcredentials.hpp;h=70eaa77b422a022da4c903d40f4da1912de84531;hb=74021af62434d042d27e010d62d6b6a0717f246b;hp=340e64ee96fb92a72f0aa45cc84abf5d81115804;hpb=c9e313bc594f40a86eed237dce222c0fc99c957f;p=lttng-tools.git 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 */