aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/sigset.h
diff options
context:
space:
mode:
authorleo <leo@yandex-team.ru>2022-02-10 16:46:40 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:40 +0300
commit980edcd3304699edf9d4e4d6a656e585028e2a72 (patch)
tree139f47f3911484ae9af0eb347b1a88bd6c4bb35f /util/system/sigset.h
parentb036a557f285146e5e35d4213e29a094ab907bcf (diff)
downloadydb-980edcd3304699edf9d4e4d6a656e585028e2a72.tar.gz
Restoring authorship annotation for <leo@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/system/sigset.h')
-rw-r--r--util/system/sigset.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/util/system/sigset.h b/util/system/sigset.h
index 8dd02fd817..f4035425e3 100644
--- a/util/system/sigset.h
+++ b/util/system/sigset.h
@@ -2,7 +2,7 @@
// Functions for manipulating signal sets
-#include "compat.h"
+#include "compat.h"
#if defined _unix_
#include <pthread.h>
@@ -20,39 +20,39 @@ using sigset_t = ui32;
inline int SigEmptySet(sigset_t* set) {
#if defined _unix_
- return sigemptyset(set);
+ return sigemptyset(set);
#else
Y_UNUSED(set);
- return 0;
+ return 0;
#endif
}
inline int SigFillSet(sigset_t* set) {
#if defined _unix_
- return sigfillset(set);
+ return sigfillset(set);
#else
Y_UNUSED(set);
- return 0;
+ return 0;
#endif
}
inline int SigAddSet(sigset_t* set, int signo) {
#if defined _unix_
- return sigaddset(set, signo);
+ return sigaddset(set, signo);
#else
Y_UNUSED(set);
Y_UNUSED(signo);
- return 0;
+ return 0;
#endif
}
inline int SigDelSet(sigset_t* set, int signo) {
#if defined _unix_
- return sigdelset(set, signo);
+ return sigdelset(set, signo);
#else
Y_UNUSED(set);
Y_UNUSED(signo);
- return 0;
+ return 0;
#endif
}
@@ -62,7 +62,7 @@ inline int SigIsMember(const sigset_t* set, int signo) {
#else
Y_UNUSED(set);
Y_UNUSED(signo);
- return 0;
+ return 0;
#endif
}