Skip to content

Commit 0e234bd

Browse files
authored
Merge pull request #1406 from joto/fix-include-guards
Clean up of include guards so they all use the same format
2 parents 040feed + ad833e3 commit 0e234bd

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

src/lua-utils.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef OSM2PGSQL_FLEX_LUA_HPP
2-
#define OSM2PGSQL_FLEX_LUA_HPP
1+
#ifndef OSM2PGSQL_LUA_UTILS_HPP
2+
#define OSM2PGSQL_LUA_UTILS_HPP
33

44
/**
55
* SPDX-License-Identifier: GPL-2.0-or-later
@@ -60,4 +60,4 @@ bool luaX_get_table_bool(lua_State *lua_state, char const *key, int table_index,
6060

6161
int luaX_pcall(lua_State *lua_state, int narg, int nres);
6262

63-
#endif // OSM2PGSQL_FLEX_LUA_HPP
63+
#endif // OSM2PGSQL_LUA_UTILS_HPP

tests/common-import.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef OSM2PGSQL_TEST_COMMON_IMPORT_HPP
2-
#define OSM2PGSQL_TEST_COMMON_IMPORT_HPP
1+
#ifndef OSM2PGSQL_TESTS_COMMON_IMPORT_HPP
2+
#define OSM2PGSQL_TESTS_COMMON_IMPORT_HPP
33

44
/**
55
* SPDX-License-Identifier: GPL-2.0-or-later
@@ -237,4 +237,4 @@ class import_t
237237
} // namespace db
238238
} // namespace testing
239239

240-
#endif // OSM2PGSQL_TEST_COMMON_IMPORT_HPP
240+
#endif // OSM2PGSQL_TESTS_COMMON_IMPORT_HPP

tests/common-pg.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef OSM2PGSQL_TEST_COMMON_PG_HPP
2-
#define OSM2PGSQL_TEST_COMMON_PG_HPP
1+
#ifndef OSM2PGSQL_TESTS_COMMON_PG_HPP
2+
#define OSM2PGSQL_TESTS_COMMON_PG_HPP
33

44
/**
55
* SPDX-License-Identifier: GPL-2.0-or-later
@@ -153,4 +153,4 @@ class tempdb_t
153153
} // namespace pg
154154
} // namespace testing
155155

156-
#endif // OSM2PGSQL_TEST_COMMON_PG_HPP
156+
#endif // OSM2PGSQL_TESTS_COMMON_PG_HPP

0 commit comments

Comments
 (0)