aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libc_compat
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:23 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:23 +0300
commit706b83ed7de5a473436620367af31fc0ceecde07 (patch)
tree103305d30dec77e8f6367753367f59b3cd68f9f1 /contrib/libs/libc_compat
parent918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (diff)
downloadydb-706b83ed7de5a473436620367af31fc0ceecde07.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/libc_compat')
-rw-r--r--contrib/libs/libc_compat/memfd_create.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/contrib/libs/libc_compat/memfd_create.c b/contrib/libs/libc_compat/memfd_create.c
index 6805d807d6..a33a52209a 100644
--- a/contrib/libs/libc_compat/memfd_create.c
+++ b/contrib/libs/libc_compat/memfd_create.c
@@ -1,9 +1,9 @@
-#define _GNU_SOURCE 1
-#include <sys/mman.h>
-#include "syscall.h"
+#define _GNU_SOURCE 1
+#include <sys/mman.h>
+#include "syscall.h"
#include <linux/unistd.h>
-
-int memfd_create(const char *name, unsigned flags)
-{
+
+int memfd_create(const char *name, unsigned flags)
+{
return syscall(__NR_memfd_create, name, flags);
-}
+}