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:
Markus Armbruster 2022-05-06 15:49:08 +02:00
parent 178bacb66d
commit 52581c718c
58 changed files with 148 additions and 151 deletions

View file

@ -7,8 +7,8 @@
* See the COPYING file in the top-level directory.
*/
#ifndef WHPX_CPUS_H
#define WHPX_CPUS_H
#ifndef TARGET_I386_WHPX_ACCEL_OPS_H
#define TARGET_I386_WHPX_ACCEL_OPS_H
#include "sysemu/cpus.h"
@ -30,4 +30,4 @@ void whpx_cpu_synchronize_pre_resume(bool step_pending);
/* full state set, modified during initialization or on vmload */
#define WHPX_SET_FULL_STATE 3
#endif /* WHPX_CPUS_H */
#endif /* TARGET_I386_WHPX_ACCEL_OPS_H */

View file

@ -1,5 +1,5 @@
#ifndef WHP_INTERNAL_H
#define WHP_INTERNAL_H
#ifndef TARGET_I386_WHPX_INTERNAL_H
#define TARGET_I386_WHPX_INTERNAL_H
#include <windows.h>
#include <WinHvPlatform.h>
@ -116,4 +116,4 @@ typedef enum WHPFunctionList {
WINHV_PLATFORM_FNS_SUPPLEMENTAL
} WHPFunctionList;
#endif /* WHP_INTERNAL_H */
#endif /* TARGET_I386_WHPX_INTERNAL_H */