From 47be383ea0d2fd1008fa37be6695634fe17ad805 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 13 Jun 2017 17:21:33 +0200 Subject: 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. --- executor/syscalls.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'executor/syscalls.h') 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}, -- cgit mrf-deployment