Clean up header guards that don't match their file name
Header guard symbols should match their file name to make guard collisions less likely. Cleaned up with scripts/clean-header-guards.pl, followed by some renaming of new guard symbols picked by the script to better ones. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20220506134911.2856099-2-armbru@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> [Change to generated file ebpf/rss.bpf.skeleton.h backed out]
This commit is contained in:
@@ -17,8 +17,8 @@
|
||||
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef _TARGET_ARCH_SYSCALL_H_
|
||||
#define _TARGET_ARCH_SYSCALL_H_
|
||||
#ifndef ARM_TARGET_SYSCALL_H
|
||||
#define ARM_TARGET_SYSCALL_H
|
||||
|
||||
struct target_pt_regs {
|
||||
abi_long uregs[17];
|
||||
@@ -52,4 +52,4 @@ struct target_pt_regs {
|
||||
#define TARGET_HW_MACHINE "arm"
|
||||
#define TARGET_HW_MACHINE_ARCH "armv7"
|
||||
|
||||
#endif /* !_TARGET_ARCH_SYSCALL_H_ */
|
||||
#endif /* ARM_TARGET_SYSCALL_H */
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
* SPDX-License-Identifier: GPL-2.0-or-later
|
||||
*/
|
||||
|
||||
#ifndef TARGET_ARCH_H
|
||||
#define TARGET_ARCH_H
|
||||
#ifndef TARGET_H
|
||||
#define TARGET_H
|
||||
|
||||
/*
|
||||
* i386 doesn't 'lump' the registers for 64-bit args.
|
||||
@@ -17,5 +17,4 @@ static inline bool regpairs_aligned(void *cpu_env)
|
||||
return false;
|
||||
}
|
||||
|
||||
#endif /* ! TARGET_ARCH_H */
|
||||
|
||||
#endif /* TARGET_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef BSD_USER_ARCH_SYSARCH_H_
|
||||
#define BSD_USER_ARCH_SYSARCH_H_
|
||||
#ifndef TARGET_ARCH_SYSARCH_H
|
||||
#define TARGET_ARCH_SYSARCH_H
|
||||
|
||||
#include "target_syscall.h"
|
||||
|
||||
@@ -74,4 +74,4 @@ static inline void do_freebsd_arch_print_sysarch(
|
||||
TARGET_ABI_FMT_lx ")", name->name, (int)arg1, arg2, arg3, arg4);
|
||||
}
|
||||
|
||||
#endif /* !BSD_USER_ARCH_SYSARCH_H_ */
|
||||
#endif /* TARGET_ARCH_SYSARCH_H */
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef BSD_USER_ARCH_SYSARCH_H_
|
||||
#define BSD_USER_ARCH_SYSARCH_H_
|
||||
#ifndef TARGET_ARCH_SYSARCH_H
|
||||
#define TARGET_ARCH_SYSARCH_H
|
||||
|
||||
#include "target_syscall.h"
|
||||
|
||||
@@ -73,4 +73,4 @@ static inline void do_freebsd_arch_print_sysarch(
|
||||
TARGET_ABI_FMT_lx ")", name->name, (int)arg1, arg2, arg3, arg4);
|
||||
}
|
||||
|
||||
#endif /*! BSD_USER_ARCH_SYSARCH_H_ */
|
||||
#endif /* TARGET_ARCH_SYSARCH_H */
|
||||
|
||||
Reference in New Issue
Block a user