aboutsummaryrefslogtreecommitdiffstats
path: root/util/system
diff options
context:
space:
mode:
authordobrokot <dobrokot@yandex-team.ru>2022-02-10 16:49:07 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:07 +0300
commit8d57b69dee81198a59c39e64704f7dc9f04b4fbf (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /util/system
parent25d83bf841d8b3ce3886525078f1964ac3c293c5 (diff)
downloadydb-8d57b69dee81198a59c39e64704f7dc9f04b4fbf.tar.gz
Restoring authorship annotation for <dobrokot@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/system')
-rw-r--r--util/system/defaults.h4
-rw-r--r--util/system/mutex.cpp2
-rw-r--r--util/system/shmat.cpp8
-rw-r--r--util/system/shmat.h2
-rw-r--r--util/system/tls.cpp2
-rw-r--r--util/system/types.h8
6 files changed, 13 insertions, 13 deletions
diff --git a/util/system/defaults.h b/util/system/defaults.h
index 0a363b59496..dcd7abea38e 100644
--- a/util/system/defaults.h
+++ b/util/system/defaults.h
@@ -151,5 +151,5 @@ constexpr bool Y_IS_DEBUG_BUILD = true;
#if !defined(Y_GENERATE_UNIQUE_ID)
#define Y_GENERATE_UNIQUE_ID(N) Y_CAT(N, __LINE__)
#endif
-
-#define NPOS ((size_t)-1)
+
+#define NPOS ((size_t)-1)
diff --git a/util/system/mutex.cpp b/util/system/mutex.cpp
index 22fdf39a0be..4041402db9a 100644
--- a/util/system/mutex.cpp
+++ b/util/system/mutex.cpp
@@ -1,7 +1,7 @@
#include "mutex.h"
#include <util/generic/yexception.h>
-#include <errno.h>
+#include <errno.h>
#if defined(_win_)
#include "winint.h"
diff --git a/util/system/shmat.cpp b/util/system/shmat.cpp
index 151dc5ba1bc..07ff0d6caa4 100644
--- a/util/system/shmat.cpp
+++ b/util/system/shmat.cpp
@@ -89,12 +89,12 @@ namespace {
}
#endif
-TSharedMemory::TSharedMemory()
+TSharedMemory::TSharedMemory()
: Handle(INVALID_FHANDLE)
, Data(nullptr)
- , Size(0)
-{
-}
+ , Size(0)
+{
+}
#if defined(_win_)
static void FormatName(char* buf, const TGUID& id) {
diff --git a/util/system/shmat.h b/util/system/shmat.h
index 27467d10352..d9da3c151a8 100644
--- a/util/system/shmat.h
+++ b/util/system/shmat.h
@@ -12,7 +12,7 @@ class TSharedMemory: public TThrRefBase {
int Size;
public:
- TSharedMemory();
+ TSharedMemory();
~TSharedMemory() override;
bool Create(int Size);
diff --git a/util/system/tls.cpp b/util/system/tls.cpp
index 09a30f63057..c2f1a04a148 100644
--- a/util/system/tls.cpp
+++ b/util/system/tls.cpp
@@ -113,7 +113,7 @@ namespace {
}
virtual TPerThreadStorage* MyStorageSlow() = 0;
-
+
virtual ~TGenericTlsBase() = default;
};
}
diff --git a/util/system/types.h b/util/system/types.h
index d4306a4dc4d..12e68a60601 100644
--- a/util/system/types.h
+++ b/util/system/types.h
@@ -94,11 +94,11 @@ typedef int64_t i64;
#error "Unsupported platform"
#endif
-// SUPERLONG
-#if !defined(DONT_USE_SUPERLONG) && !defined(SUPERLONG_MAX)
+// SUPERLONG
+#if !defined(DONT_USE_SUPERLONG) && !defined(SUPERLONG_MAX)
#define SUPERLONG_MAX ~LL(0)
-typedef i64 SUPERLONG;
-#endif
+typedef i64 SUPERLONG;
+#endif
// UNICODE
#ifdef __cplusplus