aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/lfalloc
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.ru>2022-02-10 16:45:12 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:12 +0300
commit49116032d905455a7b1c994e4a696afc885c1e71 (patch)
treebe835aa92c6248212e705f25388ebafcf84bc7a1 /library/cpp/lfalloc
parent4e839db24a3bbc9f1c610c43d6faaaa99824dcca (diff)
downloadydb-49116032d905455a7b1c994e4a696afc885c1e71.tar.gz
Restoring authorship annotation for <thegeorg@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/lfalloc')
-rw-r--r--library/cpp/lfalloc/lf_allocX64.cpp8
-rw-r--r--library/cpp/lfalloc/lf_allocX64.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/lfalloc/lf_allocX64.cpp b/library/cpp/lfalloc/lf_allocX64.cpp
index 02719a34d3..2eb90761fe 100644
--- a/library/cpp/lfalloc/lf_allocX64.cpp
+++ b/library/cpp/lfalloc/lf_allocX64.cpp
@@ -63,10 +63,10 @@ extern "C" void* memalign(size_t alignment, size_t size) {
return res ? nullptr : ptr;
}
-extern "C" void* aligned_alloc(size_t alignment, size_t size) {
- return memalign(alignment, size);
-}
-
+extern "C" void* aligned_alloc(size_t alignment, size_t size) {
+ return memalign(alignment, size);
+}
+
#if !defined(_MSC_VER) && !defined(_freebsd_)
// Workaround for pthread_create bug in linux.
extern "C" void* __libc_memalign(size_t alignment, size_t size) {
diff --git a/library/cpp/lfalloc/lf_allocX64.h b/library/cpp/lfalloc/lf_allocX64.h
index d43fbf1ccb..fd2a906d6f 100644
--- a/library/cpp/lfalloc/lf_allocX64.h
+++ b/library/cpp/lfalloc/lf_allocX64.h
@@ -6,7 +6,7 @@
#include <library/cpp/malloc/api/malloc.h>
-#include <util/system/compat.h>
+#include <util/system/compat.h>
#include <util/system/compiler.h>
#include <util/system/types.h>