diff options
author | vkalintiris <vasilis@netdata.cloud> | 2021-05-24 17:44:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-24 17:44:50 +0300 |
commit | b8cd2bdc50fd8d10eb38c173b97b5918012271e7 (patch) | |
tree | 90f955325e16371e9dbab011e64b5ef8293179b8 /claim | |
parent | 277e4f10bc47bfc5f48a6f62adea5c3fac45208e (diff) |
Remove unecessary relative paths when including headers. (#11124)
Currently, we add the repository's top-level dir in the compiler's
header search path. This means that code in every top-level directory
within the repo can include headers sibling top-level directories.
This patch makes header inclusion consistent when it comes to files
that are included from sibling top-level directories within the repo.
Diffstat (limited to 'claim')
-rw-r--r-- | claim/claim.c | 6 | ||||
-rw-r--r-- | claim/claim.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/claim/claim.c b/claim/claim.c index ce3f0803de..04d8efbb45 100644 --- a/claim/claim.c +++ b/claim/claim.c @@ -1,11 +1,11 @@ // SPDX-License-Identifier: GPL-3.0-or-later #include "claim.h" -#include "../registry/registry_internals.h" +#include "registry/registry_internals.h" #ifndef ACLK_NG -#include "../aclk/legacy/aclk_common.h" +#include "aclk/legacy/aclk_common.h" #else -#include "../aclk/aclk.h" +#include "aclk/aclk.h" #endif char *claiming_pending_arguments = NULL; diff --git a/claim/claim.h b/claim/claim.h index 2fd8d3e9bf..171cc1fab1 100644 --- a/claim/claim.h +++ b/claim/claim.h @@ -3,7 +3,7 @@ #ifndef NETDATA_CLAIM_H #define NETDATA_CLAIM_H 1 -#include "../daemon/common.h" +#include "daemon/common.h" extern char *claiming_pending_arguments; extern struct config cloud_config; |