changeset 26030:a93e46adb54c

Add MPLAYER_ prefix to multiple inclusion guards.
author diego
date Fri, 22 Feb 2008 17:32:36 +0000
parents 4129c8cfa742
children 559a244d5679
files vidix/AsmMacros.h vidix/cyberblade_regs.h vidix/dha.h vidix/dhahelperwin/dhahelper.h vidix/dhahelperwin/ntverp.h vidix/drivers.h vidix/fourcc.h vidix/glint_regs.h vidix/kernelhelper/dhahelper.h vidix/mach64.h vidix/pm3_regs.h vidix/radeon.h vidix/savage_regs.h vidix/sis_defs.h vidix/sis_regs.h vidix/sysdep/AsmMacros_alpha.h vidix/sysdep/AsmMacros_arm32.h vidix/sysdep/AsmMacros_ia64.h vidix/sysdep/AsmMacros_powerpc.h vidix/sysdep/AsmMacros_sparc.h vidix/sysdep/AsmMacros_x86.h vidix/unichrome_regs.h vidix/vidix.h vidix/vidixlib.h
diffstat 24 files changed, 74 insertions(+), 72 deletions(-) [+]
line wrap: on
line diff
--- a/vidix/AsmMacros.h	Fri Feb 22 09:09:46 2008 +0000
+++ b/vidix/AsmMacros.h	Fri Feb 22 17:32:36 2008 +0000
@@ -63,8 +63,8 @@
  *   Modified for readability by Nick Kurshev
 */
 
-#ifndef ASMMACROS_H
-#define ASMMACROS_H
+#ifndef MPLAYER_ASMMACROS_H
+#define MPLAYER_ASMMACROS_H
 
 #if defined(__GNUC__)
 #if defined(__alpha__)
@@ -119,4 +119,4 @@
 #endif /* _MINIX and _ACK */
 #endif /* __GNUC__ */
 
-#endif /* ASMMACROS_H */
+#endif /* MPLAYER_ASMMACROS_H */
--- a/vidix/cyberblade_regs.h	Fri Feb 22 09:09:46 2008 +0000
+++ b/vidix/cyberblade_regs.h	Fri Feb 22 17:32:36 2008 +0000
@@ -23,8 +23,8 @@
  */
 /* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/trident/trident_regs.h,v 1.22 2002/01/11 13:06:30 alanh Exp $ */
 
-#ifndef CYBERBLADE_REGS_H
-#define CYBERBLADE_REGS_H
+#ifndef MPLAYER_CYBERBLADE_REGS_H
+#define MPLAYER_CYBERBLADE_REGS_H
 
 #define DEBUG 1
 
@@ -137,4 +137,4 @@
 
 /* --- */
 
-#endif /* CYBERBLADE_REGS_H */
+#endif /* MPLAYER_CYBERBLADE_REGS_H */
--- a/vidix/dha.h	Fri Feb 22 09:09:46 2008 +0000
+++ b/vidix/dha.h	Fri Feb 22 17:32:36 2008 +0000
@@ -33,8 +33,8 @@
  *   Original location: www.linuxvideo.org/gatos
  */
 
-#ifndef DHA_H
-#define DHA_H
+#ifndef MPLAYER_DHA_H
+#define MPLAYER_DHA_H
 
 #ifdef __cplusplus
 extern "C" {
@@ -92,4 +92,4 @@
 }
 #endif
 
-#endif /* DHA_H */
+#endif /* MPLAYER_DHA_H */
--- a/vidix/dhahelperwin/dhahelper.h	Fri Feb 22 09:09:46 2008 +0000
+++ b/vidix/dhahelperwin/dhahelper.h	Fri Feb 22 17:32:36 2008 +0000
@@ -19,8 +19,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  *****************************************************************************/
 
-#ifndef DHAHELPER_H
-#define DHAHELPER_H
+#ifndef MPLAYER_DHAHELPER_H
+#define MPLAYER_DHAHELPER_H
 
 // Define the various device type values.  Note that values used by Microsoft
 // Corporation are in the range 0-32767, and 32768-65535 are reserved for use
@@ -68,4 +68,4 @@
 
 typedef struct dhahelper_t dhahelper_t;
 
-#endif /* DHAHELPER_H */
+#endif /* MPLAYER_DHAHELPER_H */
--- a/vidix/dhahelperwin/ntverp.h	Fri Feb 22 09:09:46 2008 +0000
+++ b/vidix/dhahelperwin/ntverp.h	Fri Feb 22 17:32:36 2008 +0000
@@ -13,8 +13,8 @@
  * PROGRAMMERS:     Alex Ionescu (alex.ionescu@reactos.org)
  */
 
-#ifndef NTVERP_H
-#define NTVERP_H
+#ifndef MPLAYER_NTVERP_H
+#define MPLAYER_NTVERP_H
 
 //
 // Windows NT Build 3790.1830
@@ -153,4 +153,4 @@
 #define VER_LEGALTRADEMARKS_STR             \
     "ReactOS(R) is a registered trademark of the ReactOS Foundation."
 
-#endif /* NTVERP_H */
+#endif /* MPLAYER_NTVERP_H */
--- a/vidix/drivers.h	Fri Feb 22 09:09:46 2008 +0000
+++ b/vidix/drivers.h	Fri Feb 22 17:32:36 2008 +0000
@@ -19,12 +19,12 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#ifndef VIDIX_DRIVERS_H
-#define VIDIX_DRIVERS_H
+#ifndef MPLAYER_DRIVERS_H
+#define MPLAYER_DRIVERS_H
 
 void vidix_register_all_drivers (void);
 
 int vidix_find_driver (VDXContext *ctx, const char *name,
                        unsigned int cap, int verbose);
 
-#endif /* VIDIX_DRIVERS_H */
+#endif /* MPLAYER_DRIVERS_H */
--- a/vidix/fourcc.h	Fri Feb 22 09:09:46 2008 +0000
+++ b/vidix/fourcc.h	Fri Feb 22 17:32:36 2008 +0000
@@ -22,8 +22,8 @@
  * and personally my ideas.
  */
 
-#ifndef FOURCC_H
-#define FOURCC_H
+#ifndef MPLAYER_FOURCC_H
+#define MPLAYER_FOURCC_H
 
 /*  Four-character-code (FOURCC) */
 #define vid_fourcc(a,b,c,d)\
@@ -79,4 +79,4 @@
 /*  Vendor-specific formats   */
 #define IMGFMT_WNVA    vid_fourcc('W','N','V','A') /* Winnov hw compress */
 
-#endif /* FOURCC_H */
+#endif /* MPLAYER_FOURCC_H */
--- a/vidix/glint_regs.h	Fri Feb 22 09:09:46 2008 +0000
+++ b/vidix/glint_regs.h	Fri Feb 22 17:32:36 2008 +0000
@@ -14,8 +14,8 @@
  *
  */ 
 
-#ifndef GLINT_REGS_H
-#define GLINT_REGS_H
+#ifndef MPLAYER_GLINT_REGS_H
+#define MPLAYER_GLINT_REGS_H
 
 /**********************************************
 *  GLINT 500TX Configuration Region Registers *
@@ -1301,4 +1301,4 @@
 #define ACCESSCHIP2()						\
     pGlint->IOOffset = 0x10000;
 
-#endif /* GLINT_REGS_H */
+#endif /* MPLAYER_GLINT_REGS_H */
--- a/vidix/kernelhelper/dhahelper.h	Fri Feb 22 09:09:46 2008 +0000
+++ b/vidix/kernelhelper/dhahelper.h	Fri Feb 22 17:32:36 2008 +0000
@@ -4,8 +4,8 @@
     (C) 2002 Alex Beregszaszi <alex@fsn.hu>
 */
 
-#ifndef DHAHELPER_H
-#define DHAHELPER_H
+#ifndef MPLAYER_DHAHELPER_H
+#define MPLAYER_DHAHELPER_H
 
 #include <linux/ioctl.h>
 
@@ -66,4 +66,4 @@
 #define DHAHELPER_MTRR		_IOWR('D', 3, dhahelper_mtrr_t)
 #define DHAHELPER_PCI		_IOWR('D', 4, dhahelper_pci_t)
 
-#endif /* DHAHELPER_H */
+#endif /* MPLAYER_DHAHELPER_H */
--- a/vidix/mach64.h	Fri Feb 22 09:09:46 2008 +0000
+++ b/vidix/mach64.h	Fri Feb 22 17:32:36 2008 +0000
@@ -22,8 +22,8 @@
  *  radeonfb, GATOS (gatos.sf.net) and X11 (www.xfree86.org)
  */
 
-#ifndef MACH64_H
-#define MACH64_H
+#ifndef MPLAYER_MACH64_H
+#define MPLAYER_MACH64_H
 
 /* Note: this model of accessing to IO space is based on MMIO technology.
 This means that this sources don't support ISA and VLB cards */
@@ -2494,4 +2494,4 @@
 #define MIX_FN_PAINT			MIX_SRC
 
 
-#endif /* MACH64_H */
+#endif /* MPLAYER_MACH64_H */
--- a/vidix/pm3_regs.h	Fri Feb 22 09:09:46 2008 +0000
+++ b/vidix/pm3_regs.h	Fri Feb 22 17:32:36 2008 +0000
@@ -11,8 +11,8 @@
  *
  */ 
 
-#ifndef PM3_REGS_H
-#define PM3_REGS_H
+#ifndef MPLAYER_PM3_REGS_H
+#define MPLAYER_PM3_REGS_H
 
 /**********************************************
 *  GLINT Permedia3 Control Status registers   *
@@ -1110,4 +1110,4 @@
     temp = READ_REG(PM3RD_IndexedData);			\
 }
 #endif
-#endif /* PM3_REGS_H */
+#endif /* MPLAYER_PM3_REGS_H */
--- a/vidix/radeon.h	Fri Feb 22 09:09:46 2008 +0000
+++ b/vidix/radeon.h	Fri Feb 22 17:32:36 2008 +0000
@@ -22,8 +22,8 @@
  * and partly compatible with Rage128 set (in OV0, CAP0, CAP1 parts)
  */
 
-#ifndef	RADEON_H
-#define	RADEON_H
+#ifndef	MPLAYER_RADEON_H
+#define	MPLAYER_RADEON_H
 
 #define	RADEON_REGSIZE			0x4000
 #define	MM_INDEX			0x0000
@@ -2235,4 +2235,4 @@
 
 /* End of field	default	values.	*/
 
-#endif	/* RADEON_H */
+#endif	/* MPLAYER_RADEON_H */
--- a/vidix/savage_regs.h	Fri Feb 22 09:09:46 2008 +0000
+++ b/vidix/savage_regs.h	Fri Feb 22 17:32:36 2008 +0000
@@ -1,7 +1,7 @@
 /* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/savage/savage_regs.h,v 1.10 2001/11/04 22:17:48 alanh Exp $ */
 
-#ifndef SAVAGE_REGS_H
-#define SAVAGE_REGS_H
+#ifndef MPLAYER_SAVAGE_REGS_H
+#define MPLAYER_SAVAGE_REGS_H
 
 #define S3_SAVAGE3D_SERIES(chip)  ((chip>=S3_SAVAGE3D) && (chip<=S3_SAVAGE_MX))
 
@@ -276,4 +276,4 @@
                            & VSCALING_Mask)
 
 
-#endif /* SAVAGE_REGS_H */
+#endif /* MPLAYER_SAVAGE_REGS_H */
--- a/vidix/sis_defs.h	Fri Feb 22 09:09:46 2008 +0000
+++ b/vidix/sis_defs.h	Fri Feb 22 17:32:36 2008 +0000
@@ -21,8 +21,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#ifndef VIDIX_SIS_DEFS_H
-#define VIDIX_SIS_DEFS_H
+#ifndef MPLAYER_SIS_DEFS_H
+#define MPLAYER_SIS_DEFS_H
 
 /** PCI IDs **/
 #define VENDOR_SIS            0x1039
@@ -104,4 +104,4 @@
 extern unsigned int sis_force_crt2_type;
 extern int sis_device_id;
 
-#endif				/* VIDIX_SIS_DEFS_H */
+#endif /* MPLAYER_SIS_DEFS_H */
--- a/vidix/sis_regs.h	Fri Feb 22 09:09:46 2008 +0000
+++ b/vidix/sis_regs.h	Fri Feb 22 17:32:36 2008 +0000
@@ -21,8 +21,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#ifndef VIDIX_SIS_REGS_H
-#define VIDIX_SIS_REGS_H
+#ifndef MPLAYER_SIS_REGS_H
+#define MPLAYER_SIS_REGS_H
 
 #define inSISREG(base)          INPORT8(base)
 #define outSISREG(base,val)     OUTPORT8(base, val)
@@ -410,4 +410,4 @@
 
 /* Not public (yet?) */
 
-#endif				/* VIDIX_SIS_REGS_H */
+#endif /* MPLAYER_SIS_REGS_H */
--- a/vidix/sysdep/AsmMacros_alpha.h	Fri Feb 22 09:09:46 2008 +0000
+++ b/vidix/sysdep/AsmMacros_alpha.h	Fri Feb 22 17:32:36 2008 +0000
@@ -59,8 +59,9 @@
  *    advised of the possibility of such damage.
  */
 
-#ifndef ASMMACROS_ALPHA_H
-#define ASMMACROS_ALPHA_H
+#ifndef MPLAYER_ASMMACROS_ALPHA_H
+#define MPLAYER_ASMMACROS_ALPHA_H
+
 #if defined (linux)
 #include <sys/io.h>
 #elif defined (__FreeBSD__)
@@ -78,4 +79,4 @@
 #define intr_disable()
 #define intr_enable()
 
-#endif /* ASMMACROS_ALPHA_H */
+#endif /* MPLAYER_ASMMACROS_ALPHA_H */
--- a/vidix/sysdep/AsmMacros_arm32.h	Fri Feb 22 09:09:46 2008 +0000
+++ b/vidix/sysdep/AsmMacros_arm32.h	Fri Feb 22 17:32:36 2008 +0000
@@ -59,8 +59,9 @@
  *    advised of the possibility of such damage.
  */
 
-#ifndef ASMMACROS_ARM32_H
-#define ASMMACROS_ARM32_H
+#ifndef MPLAYER_ASMMACROS_ARM32_H
+#define MPLAYER_ASMMACROS_ARM32_H
+
 unsigned int IOPortBase;  /* Memory mapped I/O port area */
 
 static __inline__ void outb(short port,char val)
@@ -102,4 +103,4 @@
 #define intr_disable()
 #define intr_enable()
 
-#endif /* ASMMACROS_ARM32_H */
+#endif /* MPLAYER_ASMMACROS_ARM32_H */
--- a/vidix/sysdep/AsmMacros_ia64.h	Fri Feb 22 09:09:46 2008 +0000
+++ b/vidix/sysdep/AsmMacros_ia64.h	Fri Feb 22 17:32:36 2008 +0000
@@ -59,8 +59,8 @@
  *    advised of the possibility of such damage.
  */
 
-#ifndef ASMMACROS_IA64_H
-#define ASMMACROS_IA64_H
+#ifndef MPLAYER_ASMMACROS_IA64_H
+#define MPLAYER_ASMMACROS_IA64_H
 
 #if defined(linux)
 #include <sys/io.h>
@@ -68,4 +68,4 @@
 #error This stuff is not ported on your system
 #endif
 
-#endif /* ASMMACROS_IA64_H */
+#endif /* MPLAYER_ASMMACROS_IA64_H */
--- a/vidix/sysdep/AsmMacros_powerpc.h	Fri Feb 22 09:09:46 2008 +0000
+++ b/vidix/sysdep/AsmMacros_powerpc.h	Fri Feb 22 17:32:36 2008 +0000
@@ -59,8 +59,8 @@
  *    advised of the possibility of such damage.
  */
 
-#ifndef ASMMACROS_POWERPC_H
-#define ASMMACROS_POWERPC_H
+#ifndef MPLAYER_ASMMACROS_POWERPC_H
+#define MPLAYER_ASMMACROS_POWERPC_H
 
 #if defined(Lynx) || defined(__OpenBSD__)
 
@@ -112,4 +112,4 @@
 
 #endif
 
-#endif /* ASMMACROS_POWERPC_H */
+#endif /* MPLAYER_ASMMACROS_POWERPC_H */
--- a/vidix/sysdep/AsmMacros_sparc.h	Fri Feb 22 09:09:46 2008 +0000
+++ b/vidix/sysdep/AsmMacros_sparc.h	Fri Feb 22 17:32:36 2008 +0000
@@ -59,8 +59,8 @@
  *    advised of the possibility of such damage.
  */
 
-#ifndef ASMMACROS_SPARC_H
-#define ASMMACROS_SPARC_H
+#ifndef MPLAYER_ASMMACROS_SPARC_H
+#define MPLAYER_ASMMACROS_SPARC_H
 
 #ifndef ASI_PL
 #define ASI_PL 0x88
@@ -105,4 +105,4 @@
 #define intr_disable()
 #define intr_enable()
 
-#endif /* ASMMACROS_SPARC_H */
+#endif /* MPLAYER_ASMMACROS_SPARC_H */
--- a/vidix/sysdep/AsmMacros_x86.h	Fri Feb 22 09:09:46 2008 +0000
+++ b/vidix/sysdep/AsmMacros_x86.h	Fri Feb 22 17:32:36 2008 +0000
@@ -59,8 +59,8 @@
  *    advised of the possibility of such damage.
  */
 
-#ifndef ASMMACROS_X86_H
-#define ASMMACROS_X86_H
+#ifndef MPLAYER_ASMMACROS_X86_H
+#define MPLAYER_ASMMACROS_X86_H
 
 //#if defined (WINNT)
 //#error This stuff is not ported on your system
@@ -345,4 +345,4 @@
 
 //#endif
 
-#endif /* ASMMACROS_X86_H */
+#endif /* MPLAYER_ASMMACROS_X86_H */
--- a/vidix/unichrome_regs.h	Fri Feb 22 09:09:46 2008 +0000
+++ b/vidix/unichrome_regs.h	Fri Feb 22 17:32:36 2008 +0000
@@ -23,8 +23,8 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#ifndef UNICHROME_REGS_H
-#define UNICHROME_REGS_H
+#ifndef MPLAYER_UNICHROME_REGS_H
+#define MPLAYER_UNICHROME_REGS_H
 
 /* Video status flag */
 
@@ -632,4 +632,4 @@
 
 
 
-#endif /* UNICHROME_REGS_H */
+#endif /* MPLAYER_UNICHROME_REGS_H */
--- a/vidix/vidix.h	Fri Feb 22 09:09:46 2008 +0000
+++ b/vidix/vidix.h	Fri Feb 22 17:32:36 2008 +0000
@@ -32,8 +32,8 @@
  * NOTE: This interface is introduces as driver interface.
  */
 
-#ifndef VIDIX_H
-#define VIDIX_H
+#ifndef MPLAYER_VIDIX_H
+#define MPLAYER_VIDIX_H
 
 #ifdef __cplusplus
 extern "C" {
@@ -314,4 +314,4 @@
 }
 #endif
 
-#endif /* VIDIX_H */
+#endif /* MPLAYER_VIDIX_H */
--- a/vidix/vidixlib.h	Fri Feb 22 09:09:46 2008 +0000
+++ b/vidix/vidixlib.h	Fri Feb 22 17:32:36 2008 +0000
@@ -32,8 +32,8 @@
  * NOTE: This interface is introduces as driver interface.
  */
 
-#ifndef VIDIXLIB_H
-#define VIDIXLIB_H
+#ifndef MPLAYER_VIDIXLIB_H
+#define MPLAYER_VIDIXLIB_H
 
 #ifdef __cplusplus
 extern "C" {
@@ -141,4 +141,4 @@
 }
 #endif
 
-#endif /* VIDIXLIB_H */
+#endif /* MPLAYER_VIDIXLIB_H */