X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fcredentials.c;h=fd8b4477bb9ad1b0861ab8a76a10bce35fed60ac;hp=dc1bdd89f1182c984bbdf5ecbba4a8d51cddaf7d;hb=HEAD;hpb=894e6e1c66b3b7288c3cfca2a6f9d916774d6dea diff --git a/src/common/credentials.c b/src/common/credentials.c deleted file mode 100644 index dc1bdd89f..000000000 --- a/src/common/credentials.c +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2020 Jonathan Rajotte - * - * SPDX-License-Identifier: LGPL-2.1-only - * - */ - -#include -#include -#include "credentials.h" - -bool lttng_credentials_is_equal(const struct lttng_credentials *a, - const struct lttng_credentials *b) -{ - assert(a); - assert(b); - - if ((a->uid != b->uid) || (a->gid != b->gid)) { - return false; - } - - return true; -};