diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-10-17 11:07:58 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-10-17 11:07:58 +0100 |
commit | 14b52f4498c10625f3c16101cd34dec25a59bac6 (patch) | |
tree | 4e0c3fda002e492eac42bb6dd1092a13609de3a2 /src/libutil | |
parent | ff6390071ddb37e7ddeb9e058ef0831636e75841 (diff) | |
download | rspamd-14b52f4498c10625f3c16101cd34dec25a59bac6.tar.gz rspamd-14b52f4498c10625f3c16101cd34dec25a59bac6.zip |
[Minor] Rename file to a more appropriate name
Diffstat (limited to 'src/libutil')
-rw-r--r-- | src/libutil/CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/libutil/cxx/file_util.cxx (renamed from src/libutil/cxx/locked_file.cxx) | 2 | ||||
-rw-r--r-- | src/libutil/cxx/file_util.hxx (renamed from src/libutil/cxx/locked_file.hxx) | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/libutil/CMakeLists.txt b/src/libutil/CMakeLists.txt index 7b3103720..d3dd26454 100644 --- a/src/libutil/CMakeLists.txt +++ b/src/libutil/CMakeLists.txt @@ -18,6 +18,6 @@ SET(LIBRSPAMDUTILSRC ${CMAKE_CURRENT_SOURCE_DIR}/heap.c ${CMAKE_CURRENT_SOURCE_DIR}/multipattern.c ${CMAKE_CURRENT_SOURCE_DIR}/cxx/utf8_util.cxx - ${CMAKE_CURRENT_SOURCE_DIR}/cxx/locked_file.cxx) + ${CMAKE_CURRENT_SOURCE_DIR}/cxx/file_util.cxx) # Rspamdutil SET(RSPAMD_UTIL ${LIBRSPAMDUTILSRC} PARENT_SCOPE)
\ No newline at end of file diff --git a/src/libutil/cxx/locked_file.cxx b/src/libutil/cxx/file_util.cxx index c972e1de3..10a91a251 100644 --- a/src/libutil/cxx/locked_file.cxx +++ b/src/libutil/cxx/file_util.cxx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -#include "locked_file.hxx" +#include "file_util.hxx" #include <fmt/core.h> #include "libutil/util.h" #include "libutil/unix-std.h" diff --git a/src/libutil/cxx/locked_file.hxx b/src/libutil/cxx/file_util.hxx index 507b02762..c66fd17ef 100644 --- a/src/libutil/cxx/locked_file.hxx +++ b/src/libutil/cxx/file_util.hxx @@ -13,8 +13,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -#ifndef RSPAMD_LOCKED_FILE_HXX -#define RSPAMD_LOCKED_FILE_HXX +#ifndef RSPAMD_FILE_UTIL_HXX +#define RSPAMD_FILE_UTIL_HXX #pragma once #include "config.h" @@ -258,4 +258,4 @@ private: } -#endif //RSPAMD_LOCKED_FILE_HXX +#endif //RSPAMD_FILE_UTIL_HXX |