mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
Clean up decorations and whitespace around 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:
+2
-1
@@ -21,6 +21,7 @@
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef QEMU_AUDIO_H
|
||||
#define QEMU_AUDIO_H
|
||||
|
||||
@@ -162,4 +163,4 @@ static inline void *advance (void *p, int incr)
|
||||
int wav_start_capture (CaptureState *s, const char *path, int freq,
|
||||
int bits, int nchannels);
|
||||
|
||||
#endif /* audio.h */
|
||||
#endif /* QEMU_AUDIO_H */
|
||||
|
||||
+2
-1
@@ -21,6 +21,7 @@
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef QEMU_AUDIO_INT_H
|
||||
#define QEMU_AUDIO_INT_H
|
||||
|
||||
@@ -257,4 +258,4 @@ static inline int audio_ring_dist (int dst, int src, int len)
|
||||
#define AUDIO_FUNC __FILE__ ":" AUDIO_STRINGIFY (__LINE__)
|
||||
#endif
|
||||
|
||||
#endif /* audio_int.h */
|
||||
#endif /* QEMU_AUDIO_INT_H */
|
||||
|
||||
@@ -19,4 +19,4 @@ int audio_pt_wait (struct audio_pt *, const char *);
|
||||
int audio_pt_unlock_and_signal (struct audio_pt *, const char *);
|
||||
int audio_pt_join (struct audio_pt *, void **, const char *);
|
||||
|
||||
#endif /* audio_pt_int.h */
|
||||
#endif /* QEMU_AUDIO_PT_INT_H */
|
||||
|
||||
+2
-1
@@ -21,6 +21,7 @@
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef QEMU_MIXENG_H
|
||||
#define QEMU_MIXENG_H
|
||||
|
||||
@@ -48,4 +49,4 @@ void st_rate_stop (void *opaque);
|
||||
void mixeng_clear (struct st_sample *buf, int len);
|
||||
void mixeng_volume (struct st_sample *buf, int len, struct mixeng_volume *vol);
|
||||
|
||||
#endif /* mixeng.h */
|
||||
#endif /* QEMU_MIXENG_H */
|
||||
|
||||
@@ -162,4 +162,4 @@ struct target_vm86plus_struct {
|
||||
|
||||
#define UNAME_MACHINE "i386"
|
||||
|
||||
#endif /* TARGET_SYSCALL_H */
|
||||
#endif /* TARGET_SYSCALL_H */
|
||||
|
||||
@@ -11,4 +11,4 @@ struct target_pt_regs {
|
||||
|
||||
#define UNAME_MACHINE "sun4"
|
||||
|
||||
#endif /* TARGET_SYSCALL_H */
|
||||
#endif /* TARGET_SYSCALL_H */
|
||||
|
||||
@@ -12,4 +12,4 @@ struct target_pt_regs {
|
||||
|
||||
#define UNAME_MACHINE "sun4u"
|
||||
|
||||
#endif /* TARGET_SYSCALL_H */
|
||||
#endif /* TARGET_SYSCALL_H */
|
||||
|
||||
@@ -118,4 +118,4 @@ struct target_msqid64_ds {
|
||||
#define TARGET_ARCH_GET_FS 0x1003
|
||||
#define TARGET_ARCH_GET_GS 0x1004
|
||||
|
||||
#endif /* TARGET_SYSCALL_H */
|
||||
#endif /* TARGET_SYSCALL_H */
|
||||
|
||||
+1
-1
@@ -101,4 +101,4 @@ void gus_irqgen(GUSEmuState *state, unsigned int elapsed_time);
|
||||
/* lower values won´t provide any benefit at all, higher values can cause audible timing delays */
|
||||
/* note: masked timers are also calculated by this function, thus it might be needed even without any IRQs in use! */
|
||||
|
||||
#endif /* gusemu.h */
|
||||
#endif /* GUSEMU_H */
|
||||
|
||||
+1
-1
@@ -129,4 +129,4 @@
|
||||
|
||||
#define gusdataend (VSRegsEnd+4)
|
||||
|
||||
#endif /* gustate.h */
|
||||
#endif /* GUSTATE_H */
|
||||
|
||||
+1
-1
@@ -40,4 +40,4 @@ uint32_t lm4549_read(lm4549_state *s, hwaddr offset);
|
||||
void lm4549_write(lm4549_state *s, hwaddr offset, uint32_t value);
|
||||
uint32_t lm4549_write_samples(lm4549_state *s, uint32_t left, uint32_t right);
|
||||
|
||||
#endif /* #ifndef HW_LM4549_H */
|
||||
#endif /* HW_LM4549_H */
|
||||
|
||||
+1
-1
@@ -132,4 +132,4 @@ enum {
|
||||
#define RXTOFEC3 (1 << 11)
|
||||
#define RXTOFEC4 (1 << 12)
|
||||
|
||||
#endif /* #ifndef HW_PL041_H */
|
||||
#endif /* HW_PL041_H */
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#ifndef HW_QXL_H
|
||||
#define HW_QXL_H 1
|
||||
#define HW_QXL_H
|
||||
|
||||
#include "qemu-common.h"
|
||||
|
||||
|
||||
@@ -21,8 +21,9 @@
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef HW_VGA_INT_H
|
||||
#define HW_VGA_INT_H 1
|
||||
#define HW_VGA_INT_H
|
||||
|
||||
#include "hw/hw.h"
|
||||
#include "exec/memory.h"
|
||||
|
||||
@@ -100,4 +100,4 @@ static inline bool gic_test_pending(GICState *s, int irq, int cm)
|
||||
}
|
||||
}
|
||||
|
||||
#endif /* !QEMU_ARM_GIC_INTERNAL_H */
|
||||
#endif /* QEMU_ARM_GIC_INTERNAL_H */
|
||||
|
||||
@@ -328,4 +328,4 @@ static inline void gicv3_cache_all_target_cpustates(GICv3State *s)
|
||||
}
|
||||
}
|
||||
|
||||
#endif /* !QEMU_ARM_GIC_INTERNAL_H */
|
||||
#endif /* QEMU_ARM_GICV3_INTERNAL_H */
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#ifndef HW_LM32_H
|
||||
#define HW_LM32_H 1
|
||||
#define HW_LM32_H
|
||||
|
||||
#include "hw/char/lm32_juart.h"
|
||||
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#ifndef HW_NE2000_H
|
||||
#define HW_NE2000_H 1
|
||||
#define HW_NE2000_H
|
||||
|
||||
#define NE2000_PMEM_SIZE (32*1024)
|
||||
#define NE2000_PMEM_START (16*1024)
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
#ifndef HW_PCNET_H
|
||||
#define HW_PCNET_H 1
|
||||
#define HW_PCNET_H
|
||||
|
||||
#define PCNET_IOPORT_SIZE 0x20
|
||||
#define PCNET_PNPMMIO_SIZE 0x20
|
||||
|
||||
@@ -7,4 +7,4 @@ PCIEPort *xio3130_upstream_init(PCIBus *bus, int devfn, bool multifunction,
|
||||
const char *bus_name, pci_map_irq_fn map_irq,
|
||||
uint8_t port);
|
||||
|
||||
#endif /* QEMU_XIO3130_H */
|
||||
#endif /* QEMU_XIO3130_UPSTREAM_H */
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user