aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/sigset.h
diff options
context:
space:
mode:
authoryazevnul <yazevnul@yandex-team.ru>2022-02-10 16:46:46 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:46 +0300
commit8cbc307de0221f84c80c42dcbe07d40727537e2c (patch)
tree625d5a673015d1df891e051033e9fcde5c7be4e5 /util/system/sigset.h
parent30d1ef3941e0dc835be7609de5ebee66958f215a (diff)
downloadydb-8cbc307de0221f84c80c42dcbe07d40727537e2c.tar.gz
Restoring authorship annotation for <yazevnul@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/system/sigset.h')
-rw-r--r--util/system/sigset.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/util/system/sigset.h b/util/system/sigset.h
index 8dd02fd817..ed6f768e02 100644
--- a/util/system/sigset.h
+++ b/util/system/sigset.h
@@ -22,7 +22,7 @@ inline int SigEmptySet(sigset_t* set) {
#if defined _unix_
return sigemptyset(set);
#else
- Y_UNUSED(set);
+ Y_UNUSED(set);
return 0;
#endif
}
@@ -31,7 +31,7 @@ inline int SigFillSet(sigset_t* set) {
#if defined _unix_
return sigfillset(set);
#else
- Y_UNUSED(set);
+ Y_UNUSED(set);
return 0;
#endif
}
@@ -40,8 +40,8 @@ inline int SigAddSet(sigset_t* set, int signo) {
#if defined _unix_
return sigaddset(set, signo);
#else
- Y_UNUSED(set);
- Y_UNUSED(signo);
+ Y_UNUSED(set);
+ Y_UNUSED(signo);
return 0;
#endif
}
@@ -50,8 +50,8 @@ inline int SigDelSet(sigset_t* set, int signo) {
#if defined _unix_
return sigdelset(set, signo);
#else
- Y_UNUSED(set);
- Y_UNUSED(signo);
+ Y_UNUSED(set);
+ Y_UNUSED(signo);
return 0;
#endif
}
@@ -60,8 +60,8 @@ inline int SigIsMember(const sigset_t* set, int signo) {
#if defined _unix_
return sigismember(const_cast<sigset_t*>(set), signo);
#else
- Y_UNUSED(set);
- Y_UNUSED(signo);
+ Y_UNUSED(set);
+ Y_UNUSED(signo);
return 0;
#endif
}
@@ -70,9 +70,9 @@ inline int SigProcMask(int how, const sigset_t* set, sigset_t* oset) {
#if defined _unix_
return pthread_sigmask(how, set, oset);
#else
- Y_UNUSED(set);
- Y_UNUSED(oset);
- Y_UNUSED(how);
+ Y_UNUSED(set);
+ Y_UNUSED(oset);
+ Y_UNUSED(how);
return 0;
#endif
}