mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
Clean up ill-advised or unusual header guards
Cleaned up with scripts/clean-header-guards.pl. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
@@ -6,8 +6,8 @@
|
||||
* top-level directory.
|
||||
*/
|
||||
|
||||
#ifndef _IVSHMEM_CLIENT_H_
|
||||
#define _IVSHMEM_CLIENT_H_
|
||||
#ifndef IVSHMEM_CLIENT_H
|
||||
#define IVSHMEM_CLIENT_H
|
||||
|
||||
/**
|
||||
* This file provides helper to implement an ivshmem client. It is used
|
||||
@@ -209,4 +209,4 @@ ivshmem_client_search_peer(IvshmemClient *client, int64_t peer_id);
|
||||
*/
|
||||
void ivshmem_client_dump(const IvshmemClient *client);
|
||||
|
||||
#endif /* _IVSHMEM_CLIENT_H_ */
|
||||
#endif /* IVSHMEM_CLIENT_H */
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
* top-level directory.
|
||||
*/
|
||||
|
||||
#ifndef _IVSHMEM_SERVER_H_
|
||||
#define _IVSHMEM_SERVER_H_
|
||||
#ifndef IVSHMEM_SERVER_H
|
||||
#define IVSHMEM_SERVER_H
|
||||
|
||||
/**
|
||||
* The ivshmem server is a daemon that creates a unix socket in listen
|
||||
@@ -163,4 +163,4 @@ ivshmem_server_search_peer(IvshmemServer *server, int64_t peer_id);
|
||||
*/
|
||||
void ivshmem_server_dump(const IvshmemServer *server);
|
||||
|
||||
#endif /* _IVSHMEM_SERVER_H_ */
|
||||
#endif /* IVSHMEM_SERVER_H */
|
||||
|
||||
+3
-3
@@ -18,11 +18,11 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef QCRYPTO_BLOCK_LUKS_H__
|
||||
#define QCRYPTO_BLOCK_LUKS_H__
|
||||
#ifndef QCRYPTO_BLOCK_LUKS_H
|
||||
#define QCRYPTO_BLOCK_LUKS_H
|
||||
|
||||
#include "crypto/blockpriv.h"
|
||||
|
||||
extern const QCryptoBlockDriver qcrypto_block_driver_luks;
|
||||
|
||||
#endif /* QCRYPTO_BLOCK_LUKS_H__ */
|
||||
#endif /* QCRYPTO_BLOCK_LUKS_H */
|
||||
|
||||
+3
-3
@@ -18,11 +18,11 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef QCRYPTO_BLOCK_QCOW_H__
|
||||
#define QCRYPTO_BLOCK_QCOW_H__
|
||||
#ifndef QCRYPTO_BLOCK_QCOW_H
|
||||
#define QCRYPTO_BLOCK_QCOW_H
|
||||
|
||||
#include "crypto/blockpriv.h"
|
||||
|
||||
extern const QCryptoBlockDriver qcrypto_block_driver_qcow;
|
||||
|
||||
#endif /* QCRYPTO_BLOCK_QCOW_H__ */
|
||||
#endif /* QCRYPTO_BLOCK_QCOW_H */
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef _QEMU_9P_IOV_MARSHAL_H
|
||||
#define _QEMU_9P_IOV_MARSHAL_H
|
||||
#ifndef QEMU_9P_IOV_MARSHAL_H
|
||||
#define QEMU_9P_IOV_MARSHAL_H
|
||||
|
||||
#include "9p-marshal.h"
|
||||
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
#ifndef _QEMU_9P_MARSHAL_H
|
||||
#define _QEMU_9P_MARSHAL_H
|
||||
#ifndef QEMU_9P_MARSHAL_H
|
||||
#define QEMU_9P_MARSHAL_H
|
||||
|
||||
typedef struct V9fsString
|
||||
{
|
||||
|
||||
+3
-2
@@ -9,8 +9,9 @@
|
||||
* This work is licensed under the terms of the GNU GPL, version 2. See
|
||||
* the COPYING file in the top-level directory.
|
||||
*/
|
||||
#ifndef _QEMU_9P_PROXY_H
|
||||
#define _QEMU_9P_PROXY_H
|
||||
|
||||
#ifndef QEMU_9P_PROXY_H
|
||||
#define QEMU_9P_PROXY_H
|
||||
|
||||
#define PROXY_MAX_IO_SZ (64 * 1024)
|
||||
#define V9FS_FD_VALID INT_MAX
|
||||
|
||||
+3
-2
@@ -10,8 +10,9 @@
|
||||
* the COPYING file in the top-level directory.
|
||||
*
|
||||
*/
|
||||
#ifndef _QEMU_9P_XATTR_H
|
||||
#define _QEMU_9P_XATTR_H
|
||||
|
||||
#ifndef QEMU_9P_XATTR_H
|
||||
#define QEMU_9P_XATTR_H
|
||||
|
||||
#include "qemu/xattr.h"
|
||||
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
#ifndef _QEMU_9P_H
|
||||
#define _QEMU_9P_H
|
||||
#ifndef QEMU_9P_H
|
||||
#define QEMU_9P_H
|
||||
|
||||
#include <dirent.h>
|
||||
#include <utime.h>
|
||||
|
||||
+2
-2
@@ -12,8 +12,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _QEMU_9P_COTH_H
|
||||
#define _QEMU_9P_COTH_H
|
||||
#ifndef QEMU_9P_COTH_H
|
||||
#define QEMU_9P_COTH_H
|
||||
|
||||
#include "qemu/thread.h"
|
||||
#include "qemu/coroutine.h"
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
#ifndef _QEMU_VIRTIO_9P_H
|
||||
#define _QEMU_VIRTIO_9P_H
|
||||
#ifndef QEMU_VIRTIO_9P_H
|
||||
#define QEMU_VIRTIO_9P_H
|
||||
|
||||
#include "standard-headers/linux/virtio_9p.h"
|
||||
#include "hw/virtio/virtio.h"
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
#ifndef _STRONGARM_H
|
||||
#define _STRONGARM_H
|
||||
#ifndef STRONGARM_H
|
||||
#define STRONGARM_H
|
||||
|
||||
#include "exec/memory.h"
|
||||
#include "target-arm/cpu-qom.h"
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
#ifndef __FMOPL_H_
|
||||
#define __FMOPL_H_
|
||||
#ifndef FMOPL_H
|
||||
#define FMOPL_H
|
||||
|
||||
/* --- select emulation chips --- */
|
||||
#define BUILD_YM3812 (HAS_YM3812)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef __XEN_BLKIF_H__
|
||||
#define __XEN_BLKIF_H__
|
||||
#ifndef XEN_BLKIF_H
|
||||
#define XEN_BLKIF_H
|
||||
|
||||
#include <xen/io/ring.h>
|
||||
#include <xen/io/blkif.h>
|
||||
@@ -143,4 +143,4 @@ static inline void blkif_get_x86_64_req(blkif_request_t *dst,
|
||||
}
|
||||
}
|
||||
|
||||
#endif /* __XEN_BLKIF_H__ */
|
||||
#endif /* XEN_BLKIF_H */
|
||||
|
||||
@@ -26,8 +26,8 @@
|
||||
********************************************************************
|
||||
*/
|
||||
|
||||
#ifndef __UBOOT_IMAGE_H__
|
||||
#define __UBOOT_IMAGE_H__
|
||||
#ifndef UBOOT_IMAGE_H
|
||||
#define UBOOT_IMAGE_H
|
||||
|
||||
/*
|
||||
* Operating System Codes
|
||||
@@ -155,4 +155,4 @@ typedef struct uboot_image_header {
|
||||
} uboot_image_header_t;
|
||||
|
||||
|
||||
#endif /* __IMAGE_H__ */
|
||||
#endif /* UBOOT_IMAGE_H */
|
||||
|
||||
+3
-3
@@ -14,8 +14,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __linux_video_vga_h__
|
||||
#define __linux_video_vga_h__
|
||||
#ifndef LINUX_VIDEO_VGA_H
|
||||
#define LINUX_VIDEO_VGA_H
|
||||
|
||||
/* Some of the code below is taken from SVGAlib. The original,
|
||||
unmodified copyright notice for that code is below. */
|
||||
@@ -156,4 +156,4 @@
|
||||
/* VGA graphics controller bit masks */
|
||||
#define VGA_GR06_GRAPHICS_MODE 0x01
|
||||
|
||||
#endif /* __linux_video_vga_h__ */
|
||||
#endif /* LINUX_VIDEO_VGA_H */
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef __MICROBLAZE_BOOT__
|
||||
#define __MICROBLAZE_BOOT__
|
||||
#ifndef MICROBLAZE_BOOT_H
|
||||
#define MICROBLAZE_BOOT_H
|
||||
|
||||
#include "hw/hw.h"
|
||||
|
||||
@@ -9,4 +9,4 @@ void microblaze_load_kernel(MicroBlazeCPU *cpu, hwaddr ddr_base,
|
||||
const char *dtb_filename,
|
||||
void (*machine_cpu_reset)(MicroBlazeCPU *));
|
||||
|
||||
#endif /* __MICROBLAZE_BOOT __ */
|
||||
#endif /* MICROBLAZE_BOOT_H */
|
||||
|
||||
@@ -21,8 +21,9 @@
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
#ifndef _ETSEC_H_
|
||||
#define _ETSEC_H_
|
||||
|
||||
#ifndef ETSEC_H
|
||||
#define ETSEC_H
|
||||
|
||||
#include "hw/qdev.h"
|
||||
#include "hw/sysbus.h"
|
||||
@@ -173,4 +174,4 @@ void etsec_write_miim(eTSEC *etsec,
|
||||
|
||||
void etsec_miim_link_status(eTSEC *etsec, NetClientState *nc);
|
||||
|
||||
#endif /* ! _ETSEC_H_ */
|
||||
#endif /* ETSEC_H */
|
||||
|
||||
@@ -21,9 +21,9 @@
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
#ifndef _ETSEC_REGISTERS_H_
|
||||
#define _ETSEC_REGISTERS_H_
|
||||
|
||||
#ifndef ETSEC_REGISTERS_H
|
||||
#define ETSEC_REGISTERS_H
|
||||
|
||||
enum eTSEC_Register_Access_Type {
|
||||
ACC_RW = 1, /* Read/Write */
|
||||
@@ -316,4 +316,4 @@ extern const eTSEC_Register_Definition eTSEC_registers_def[];
|
||||
#define TMR_ETTS2_H (0xEA8 / 4)
|
||||
#define TMR_ETTS2_L (0xEAC / 4)
|
||||
|
||||
#endif /* ! _ETSEC_REGISTERS_H_ */
|
||||
#endif /* ETSEC_REGISTERS_H */
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#ifndef _ROCKER_H_
|
||||
#define _ROCKER_H_
|
||||
#ifndef ROCKER_H
|
||||
#define ROCKER_H
|
||||
|
||||
#include "qemu/sockets.h"
|
||||
|
||||
@@ -81,4 +81,4 @@ int rx_produce(World *world, uint32_t pport,
|
||||
int rocker_port_eg(Rocker *r, uint32_t pport,
|
||||
const struct iovec *iov, int iovcnt);
|
||||
|
||||
#endif /* _ROCKER_H_ */
|
||||
#endif /* ROCKER_H */
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user