aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorheretic <heretic@yandex-team.ru>2022-02-10 16:45:46 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:46 +0300
commit81eddc8c0b55990194e112b02d127b87d54164a9 (patch)
tree9142afc54d335ea52910662635b898e79e192e49 /util
parent397cbe258b9e064f49c4ca575279f02f39fef76e (diff)
downloadydb-81eddc8c0b55990194e112b02d127b87d54164a9.tar.gz
Restoring authorship annotation for <heretic@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util')
-rw-r--r--util/network/socket.cpp2
-rw-r--r--util/network/socket.h2
-rw-r--r--util/system/platform.h6
3 files changed, 5 insertions, 5 deletions
diff --git a/util/network/socket.cpp b/util/network/socket.cpp
index e8995113e6..4f6e804346 100644
--- a/util/network/socket.cpp
+++ b/util/network/socket.cpp
@@ -1256,7 +1256,7 @@ void ShutDown(SOCKET s, int mode) {
}
}
-extern "C" bool IsReusePortAvailable() {
+extern "C" bool IsReusePortAvailable() {
// SO_REUSEPORT is always defined for linux builds, see SetReusePort() implementation above
#if defined(SO_REUSEPORT)
diff --git a/util/network/socket.h b/util/network/socket.h
index 3ea833023e..40c8648b40 100644
--- a/util/network/socket.h
+++ b/util/network/socket.h
@@ -139,7 +139,7 @@ bool HasLocalAddress(SOCKET socket);
/**
* Runtime check if current kernel supports SO_REUSEPORT option.
**/
-extern "C" bool IsReusePortAvailable();
+extern "C" bool IsReusePortAvailable();
bool IsNonBlock(SOCKET fd);
void SetNonBlock(SOCKET fd, bool nonBlock = true);
diff --git a/util/system/platform.h b/util/system/platform.h
index 3b22052460..58f310ab34 100644
--- a/util/system/platform.h
+++ b/util/system/platform.h
@@ -44,10 +44,10 @@
#endif
#endif
-#if defined(__IOS__)
+#if defined(__IOS__)
#define _ios_
-#endif
-
+#endif
+
#if defined(_linux_)
#if defined(_musl_)
// nothing to do