aboutsummaryrefslogtreecommitdiffstats
path: root/executor/syscalls.h
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-06-13 17:21:33 +0200
committerDmitry Vyukov <dvyukov@google.com>2017-06-13 17:21:33 +0200
commit47be383ea0d2fd1008fa37be6695634fe17ad805 (patch)
tree7843b132a242f4ecc0cfdebe6ad2d7f6d30ece53 /executor/syscalls.h
parent88ccde80d3ea11c2e00c98ba833824ec565edcc3 (diff)
executor: fix clang-tidy warnings
A single check is enabled for now (misc-definitions-in-headers). But it's always fixable and found 2 bugs in csource.
Diffstat (limited to 'executor/syscalls.h')
-rw-r--r--executor/syscalls.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/executor/syscalls.h b/executor/syscalls.h
index e6ba186b6..9662d7718 100644
--- a/executor/syscalls.h
+++ b/executor/syscalls.h
@@ -15,7 +15,7 @@ struct call_t {
};
#if defined(__x86_64__) || 0
-call_t syscalls[] = {
+static call_t syscalls[] = {
{"accept", 43},
{"accept$alg", 43},
{"accept$ax25", 43},
@@ -1524,7 +1524,7 @@ call_t syscalls[] = {
#endif
#if defined(__aarch64__) || 0
-call_t syscalls[] = {
+static call_t syscalls[] = {
{"accept", 202},
{"accept$alg", 202},
{"accept$ax25", 202},
@@ -3033,7 +3033,7 @@ call_t syscalls[] = {
#endif
#if defined(__ppc64__) || defined(__PPC64__) || defined(__powerpc64__) || 0
-call_t syscalls[] = {
+static call_t syscalls[] = {
{"accept", 330},
{"accept$alg", 330},
{"accept$ax25", 330},