aboutsummaryrefslogtreecommitdiffstats
path: root/util/system
diff options
context:
space:
mode:
authorabokov <abokov@yandex-team.ru>2022-02-10 16:49:57 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:57 +0300
commitaf7786701134cfc2bd577c1c39bbc39433b555d6 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /util/system
parentdb144972bc686626e62c9bb5b84d932f987dc8ef (diff)
downloadydb-af7786701134cfc2bd577c1c39bbc39433b555d6.tar.gz
Restoring authorship annotation for <abokov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/system')
-rw-r--r--util/system/filemap.h4
-rw-r--r--util/system/hostname.cpp4
-rw-r--r--util/system/thread.i2
3 files changed, 5 insertions, 5 deletions
diff --git a/util/system/filemap.h b/util/system/filemap.h
index 9f3f141835..11be64bff4 100644
--- a/util/system/filemap.h
+++ b/util/system/filemap.h
@@ -42,9 +42,9 @@ struct TMemoryMapCommon {
void* Ptr;
size_t Size;
i32 Head;
-
+
TMapResult(void) noexcept {
- Reset();
+ Reset();
}
};
diff --git a/util/system/hostname.cpp b/util/system/hostname.cpp
index 1e9a5adf48..386f646d6b 100644
--- a/util/system/hostname.cpp
+++ b/util/system/hostname.cpp
@@ -3,11 +3,11 @@
#include <util/generic/yexception.h>
#include <util/network/ip.h>
-#if defined(_unix_)
+#if defined(_unix_)
#include <unistd.h>
#include <ifaddrs.h>
#include <netdb.h>
-#endif
+#endif
#if defined(_win_)
#include <WinSock2.h>
diff --git a/util/system/thread.i b/util/system/thread.i
index 9c6940962b..8cba505473 100644
--- a/util/system/thread.i
+++ b/util/system/thread.i
@@ -1,7 +1,7 @@
//do not use directly
#pragma once
#include "platform.h"
-
+
#if defined(_win_)
#include "winint.h"
#include <process.h>