diff options
author | babenko <babenko@yandex-team.ru> | 2022-02-10 16:49:19 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:19 +0300 |
commit | f31097c96270919a1f49360bdaaa69ea4f3fefab (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/yt/malloc/malloc.cpp | |
parent | cec37806d8847aa3db53bafc9e251d4aaf325c12 (diff) | |
download | ydb-f31097c96270919a1f49360bdaaa69ea4f3fefab.tar.gz |
Restoring authorship annotation for <babenko@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/yt/malloc/malloc.cpp')
-rw-r--r-- | library/cpp/yt/malloc/malloc.cpp | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/library/cpp/yt/malloc/malloc.cpp b/library/cpp/yt/malloc/malloc.cpp index e43a96f2ac..808afacdfb 100644 --- a/library/cpp/yt/malloc/malloc.cpp +++ b/library/cpp/yt/malloc/malloc.cpp @@ -1,19 +1,19 @@ -#include "malloc.h" - -#include <util/system/compiler.h> - -//////////////////////////////////////////////////////////////////////////////// - -Y_WEAK extern "C" size_t nallocx(size_t size, int /* flags */) noexcept -{ - return size; -} - -#ifndef _win_ -Y_WEAK extern "C" size_t malloc_usable_size(void* /* ptr */) noexcept -{ - return 0; -} -#endif - -//////////////////////////////////////////////////////////////////////////////// +#include "malloc.h" + +#include <util/system/compiler.h> + +//////////////////////////////////////////////////////////////////////////////// + +Y_WEAK extern "C" size_t nallocx(size_t size, int /* flags */) noexcept +{ + return size; +} + +#ifndef _win_ +Y_WEAK extern "C" size_t malloc_usable_size(void* /* ptr */) noexcept +{ + return 0; +} +#endif + +//////////////////////////////////////////////////////////////////////////////// |