From 2d40f22d1ec970a84b23aa42b1feca4feedeb4bb Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Mon, 15 Feb 2010 20:05:24 -0500 Subject: [PATCH] Use C-style comments in x86emu Signed-off-by: Matt Turner Reviewed-by: Peter Hutterer Signed-off-by: Keith Packard --- hw/xfree86/x86emu/validate.c | 2 +- hw/xfree86/x86emu/x86emu/prim_x86_gcc.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/xfree86/x86emu/validate.c b/hw/xfree86/x86emu/validate.c index 239f6c1f3..b8c4d12d1 100644 --- a/hw/xfree86/x86emu/validate.c +++ b/hw/xfree86/x86emu/validate.c @@ -673,7 +673,7 @@ int main(int argc) VAL_LONG_LONG_BINARY(cmp_long); VAL_BYTE_UNARY(daa_byte); - VAL_BYTE_UNARY(das_byte); // Fails for 0x9A (out of range anyway) + VAL_BYTE_UNARY(das_byte); /* Fails for 0x9A (out of range anyway) */ VAL_BYTE_UNARY(dec_byte); VAL_WORD_UNARY(dec_word); diff --git a/hw/xfree86/x86emu/x86emu/prim_x86_gcc.h b/hw/xfree86/x86emu/x86emu/prim_x86_gcc.h index 5530a3ada..4c850a1bd 100644 --- a/hw/xfree86/x86emu/x86emu/prim_x86_gcc.h +++ b/hw/xfree86/x86emu/x86emu/prim_x86_gcc.h @@ -61,7 +61,7 @@ static inline void hw_cpuid (u32 *a, u32 *b, u32 *c, u32 *d) : "cc"); } -#else // ! (__PIC__ && __i386__) +#else /* ! (__PIC__ && __i386__) */ #define x86EMU_HAS_HW_CPUID 1 static inline void hw_cpuid (u32 *a, u32 *b, u32 *c, u32 *d) @@ -73,7 +73,7 @@ static inline void hw_cpuid (u32 *a, u32 *b, u32 *c, u32 *d) : "cc"); } -#endif // __PIC__ && __i386__ +#endif /* __PIC__ && __i386__ */ -#endif // __X86EMU_PRIM_X86_GCC_H +#endif /* __X86EMU_PRIM_X86_GCC_H */