Verified Commit cf033c94 authored by Marc Vef's avatar Marc Vef
Browse files

Rename: global_defs.hpp to common_defs.hpp

parent 9028a352
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -46,7 +46,7 @@
#endif


#include <common/global_defs.hpp>
#include <common/common_defs.hpp>
#include <common/rpc/rpc_types.hpp>

namespace hermes {
+3 −3
Original line number Diff line number Diff line
@@ -26,8 +26,8 @@
  SPDX-License-Identifier: GPL-3.0-or-later
*/

#ifndef GKFS_GLOBAL_ARITHMETIC_HPP
#define GKFS_GLOBAL_ARITHMETIC_HPP
#ifndef GKFS_COMMON_ARITHMETIC_HPP
#define GKFS_COMMON_ARITHMETIC_HPP

#include <cstdint>
#include <unistd.h>
@@ -215,4 +215,4 @@ block_count(const uint64_t offset, const size_t size, const size_t block_size) {

} // namespace gkfs::utils::arithmetic

#endif // GKFS_GLOBAL_ARITHMETIC_HPP
 No newline at end of file
#endif // GKFS_COMMON_ARITHMETIC_HPP
 No newline at end of file
+3 −3
Original line number Diff line number Diff line
@@ -26,8 +26,8 @@
  SPDX-License-Identifier: GPL-3.0-or-later
*/

#ifndef GEKKOFS_GLOBAL_DEFS_HPP
#define GEKKOFS_GLOBAL_DEFS_HPP
#ifndef GEKKOFS_COMMON_DEFS_HPP
#define GEKKOFS_COMMON_DEFS_HPP

// These constexpr set the RPC's identity and which handler the receiver end
// should use
@@ -66,4 +66,4 @@ constexpr auto na_sm = "na+sm";
} // namespace protocol
} // namespace gkfs::rpc

#endif // GEKKOFS_GLOBAL_DEFS_HPP
#endif // GEKKOFS_COMMON_DEFS_HPP
+3 −3
Original line number Diff line number Diff line
@@ -26,8 +26,8 @@
  SPDX-License-Identifier: GPL-3.0-or-later
*/

#ifndef GEKKOFS_GLOBAL_RPC_UTILS_HPP
#define GEKKOFS_GLOBAL_RPC_UTILS_HPP
#ifndef GEKKOFS_COMMON_RPC_UTILS_HPP
#define GEKKOFS_COMMON_RPC_UTILS_HPP

extern "C" {
#include <mercury_types.h>
@@ -49,4 +49,4 @@ get_host_by_name(const std::string& hostname);

} // namespace gkfs::rpc

#endif // GEKKOFS_GLOBAL_RPC_UTILS_HPP
#endif // GEKKOFS_COMMON_RPC_UTILS_HPP
+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@
#ifndef GEKKOFS_CHUNK_STORAGE_HPP
#define GEKKOFS_CHUNK_STORAGE_HPP

#include <common/global_defs.hpp>
#include <common/common_defs.hpp>

#include <limits>
#include <string>
Loading