summaryrefslogtreecommitdiffstats
path: root/vidix
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-02-22 17:32:36 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-02-22 17:32:36 +0000
commit584fe5daf2c9de92bf3e3d32c81ab19610dedd7d (patch)
tree997b8d00947b94c136737f9e435288b93c67b3e6 /vidix
parent8efb2fa21c81f99b37795621f9ec2bc125c6ced0 (diff)
downloadmpv-584fe5daf2c9de92bf3e3d32c81ab19610dedd7d.tar.bz2
mpv-584fe5daf2c9de92bf3e3d32c81ab19610dedd7d.tar.xz
Add MPLAYER_ prefix to multiple inclusion guards.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26062 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'vidix')
-rw-r--r--vidix/AsmMacros.h6
-rw-r--r--vidix/cyberblade_regs.h6
-rw-r--r--vidix/dha.h6
-rw-r--r--vidix/dhahelperwin/dhahelper.h6
-rw-r--r--vidix/dhahelperwin/ntverp.h6
-rw-r--r--vidix/drivers.h6
-rw-r--r--vidix/fourcc.h6
-rw-r--r--vidix/glint_regs.h6
-rw-r--r--vidix/kernelhelper/dhahelper.h6
-rw-r--r--vidix/mach64.h6
-rw-r--r--vidix/pm3_regs.h6
-rw-r--r--vidix/radeon.h6
-rw-r--r--vidix/savage_regs.h6
-rw-r--r--vidix/sis_defs.h6
-rw-r--r--vidix/sis_regs.h6
-rw-r--r--vidix/sysdep/AsmMacros_alpha.h7
-rw-r--r--vidix/sysdep/AsmMacros_arm32.h7
-rw-r--r--vidix/sysdep/AsmMacros_ia64.h6
-rw-r--r--vidix/sysdep/AsmMacros_powerpc.h6
-rw-r--r--vidix/sysdep/AsmMacros_sparc.h6
-rw-r--r--vidix/sysdep/AsmMacros_x86.h6
-rw-r--r--vidix/unichrome_regs.h6
-rw-r--r--vidix/vidix.h6
-rw-r--r--vidix/vidixlib.h6
24 files changed, 74 insertions, 72 deletions
diff --git a/vidix/AsmMacros.h b/vidix/AsmMacros.h
index b6b5f99f8f..228e4b6dd6 100644
--- a/vidix/AsmMacros.h
+++ b/vidix/AsmMacros.h
@@ -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 @@ void outl(U16_t, U32_t);
#endif /* _MINIX and _ACK */
#endif /* __GNUC__ */
-#endif /* ASMMACROS_H */
+#endif /* MPLAYER_ASMMACROS_H */
diff --git a/vidix/cyberblade_regs.h b/vidix/cyberblade_regs.h
index b4411c3d90..07063262cb 100644
--- a/vidix/cyberblade_regs.h
+++ b/vidix/cyberblade_regs.h
@@ -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 */
diff --git a/vidix/dha.h b/vidix/dha.h
index 5f4035b42a..bd92d2752b 100644
--- a/vidix/dha.h
+++ b/vidix/dha.h
@@ -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 @@ extern int mtrr_set_type(unsigned base,unsigned size,int type);
}
#endif
-#endif /* DHA_H */
+#endif /* MPLAYER_DHA_H */
diff --git a/vidix/dhahelperwin/dhahelper.h b/vidix/dhahelperwin/dhahelper.h
index 9145e412cf..2cb84c9eb8 100644
--- a/vidix/dhahelperwin/dhahelper.h
+++ b/vidix/dhahelperwin/dhahelper.h
@@ -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 @@ struct __attribute__((__packed__)) dhahelper_t {
typedef struct dhahelper_t dhahelper_t;
-#endif /* DHAHELPER_H */
+#endif /* MPLAYER_DHAHELPER_H */
diff --git a/vidix/dhahelperwin/ntverp.h b/vidix/dhahelperwin/ntverp.h
index ad2892918d..5d94e60573 100644
--- a/vidix/dhahelperwin/ntverp.h
+++ b/vidix/dhahelperwin/ntverp.h
@@ -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 */
diff --git a/vidix/drivers.h b/vidix/drivers.h
index f49a8a3369..ef4ac8c7d3 100644
--- a/vidix/drivers.h
+++ b/vidix/drivers.h
@@ -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 */
diff --git a/vidix/fourcc.h b/vidix/fourcc.h
index d048015bee..82136e0bb5 100644
--- a/vidix/fourcc.h
+++ b/vidix/fourcc.h
@@ -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 */
diff --git a/vidix/glint_regs.h b/vidix/glint_regs.h
index 86064cf2c1..c61fe69c23 100644
--- a/vidix/glint_regs.h
+++ b/vidix/glint_regs.h
@@ -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 @@ do{ \
#define ACCESSCHIP2() \
pGlint->IOOffset = 0x10000;
-#endif /* GLINT_REGS_H */
+#endif /* MPLAYER_GLINT_REGS_H */
diff --git a/vidix/kernelhelper/dhahelper.h b/vidix/kernelhelper/dhahelper.h
index fa6c141adb..1ae57d26c8 100644
--- a/vidix/kernelhelper/dhahelper.h
+++ b/vidix/kernelhelper/dhahelper.h
@@ -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 @@ typedef struct dhahelper_pci_s
#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 */
diff --git a/vidix/mach64.h b/vidix/mach64.h
index e018aaca34..34227a1dab 100644
--- a/vidix/mach64.h
+++ b/vidix/mach64.h
@@ -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 @@ This means that this sources don't support ISA and VLB cards */
#define MIX_FN_PAINT MIX_SRC
-#endif /* MACH64_H */
+#endif /* MPLAYER_MACH64_H */
diff --git a/vidix/pm3_regs.h b/vidix/pm3_regs.h
index 0ace0cbd30..02fa982a96 100644
--- a/vidix/pm3_regs.h
+++ b/vidix/pm3_regs.h
@@ -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 @@ do{ \
temp = READ_REG(PM3RD_IndexedData); \
}
#endif
-#endif /* PM3_REGS_H */
+#endif /* MPLAYER_PM3_REGS_H */
diff --git a/vidix/radeon.h b/vidix/radeon.h
index 6f8000f587..f22704dd53 100644
--- a/vidix/radeon.h
+++ b/vidix/radeon.h
@@ -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 */
diff --git a/vidix/savage_regs.h b/vidix/savage_regs.h
index b27ab0b821..b668138d6f 100644
--- a/vidix/savage_regs.h
+++ b/vidix/savage_regs.h
@@ -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 @@ do { \
& VSCALING_Mask)
-#endif /* SAVAGE_REGS_H */
+#endif /* MPLAYER_SAVAGE_REGS_H */
diff --git a/vidix/sis_defs.h b/vidix/sis_defs.h
index 6880b63180..c083084332 100644
--- a/vidix/sis_defs.h
+++ b/vidix/sis_defs.h
@@ -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_detected_crt2_devices;
extern unsigned int sis_force_crt2_type;
extern int sis_device_id;
-#endif /* VIDIX_SIS_DEFS_H */
+#endif /* MPLAYER_SIS_DEFS_H */
diff --git a/vidix/sis_regs.h b/vidix/sis_regs.h
index a559d0514e..3472d8aee7 100644
--- a/vidix/sis_regs.h
+++ b/vidix/sis_regs.h
@@ -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 */
diff --git a/vidix/sysdep/AsmMacros_alpha.h b/vidix/sysdep/AsmMacros_alpha.h
index 2d018971f7..e2e3751629 100644
--- a/vidix/sysdep/AsmMacros_alpha.h
+++ b/vidix/sysdep/AsmMacros_alpha.h
@@ -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 @@ extern u_int32_t inl(u_int32_t port);
#define intr_disable()
#define intr_enable()
-#endif /* ASMMACROS_ALPHA_H */
+#endif /* MPLAYER_ASMMACROS_ALPHA_H */
diff --git a/vidix/sysdep/AsmMacros_arm32.h b/vidix/sysdep/AsmMacros_arm32.h
index 003c2788cb..6fe0b66466 100644
--- a/vidix/sysdep/AsmMacros_arm32.h
+++ b/vidix/sysdep/AsmMacros_arm32.h
@@ -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 @@ static __inline__ unsigned int inl(short port)
#define intr_disable()
#define intr_enable()
-#endif /* ASMMACROS_ARM32_H */
+#endif /* MPLAYER_ASMMACROS_ARM32_H */
diff --git a/vidix/sysdep/AsmMacros_ia64.h b/vidix/sysdep/AsmMacros_ia64.h
index a1fe8c975c..0e2dc19024 100644
--- a/vidix/sysdep/AsmMacros_ia64.h
+++ b/vidix/sysdep/AsmMacros_ia64.h
@@ -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 */
diff --git a/vidix/sysdep/AsmMacros_powerpc.h b/vidix/sysdep/AsmMacros_powerpc.h
index 5dd5143cf3..71ab4c6617 100644
--- a/vidix/sysdep/AsmMacros_powerpc.h
+++ b/vidix/sysdep/AsmMacros_powerpc.h
@@ -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 @@ static __inline__ unsigned long inl(short port)
#endif
-#endif /* ASMMACROS_POWERPC_H */
+#endif /* MPLAYER_ASMMACROS_POWERPC_H */
diff --git a/vidix/sysdep/AsmMacros_sparc.h b/vidix/sysdep/AsmMacros_sparc.h
index aeef9750e4..2358adea6f 100644
--- a/vidix/sysdep/AsmMacros_sparc.h
+++ b/vidix/sysdep/AsmMacros_sparc.h
@@ -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 @@ static __inline__ unsigned int inl(unsigned long port)
#define intr_disable()
#define intr_enable()
-#endif /* ASMMACROS_SPARC_H */
+#endif /* MPLAYER_ASMMACROS_SPARC_H */
diff --git a/vidix/sysdep/AsmMacros_x86.h b/vidix/sysdep/AsmMacros_x86.h
index fb717ab5f2..c28b8e5b26 100644
--- a/vidix/sysdep/AsmMacros_x86.h
+++ b/vidix/sysdep/AsmMacros_x86.h
@@ -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 @@ static __inline__ void intr_enable()
//#endif
-#endif /* ASMMACROS_X86_H */
+#endif /* MPLAYER_ASMMACROS_X86_H */
diff --git a/vidix/unichrome_regs.h b/vidix/unichrome_regs.h
index f9842b5dbc..0511d00b7e 100644
--- a/vidix/unichrome_regs.h
+++ b/vidix/unichrome_regs.h
@@ -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 */
diff --git a/vidix/vidix.h b/vidix/vidix.h
index 0b99db1f13..b532c94ed4 100644
--- a/vidix/vidix.h
+++ b/vidix/vidix.h
@@ -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 @@ typedef struct vidix_oem_fx_s
}
#endif
-#endif /* VIDIX_H */
+#endif /* MPLAYER_VIDIX_H */
diff --git a/vidix/vidixlib.h b/vidix/vidixlib.h
index f4b258dc41..4c736ece2e 100644
--- a/vidix/vidixlib.h
+++ b/vidix/vidixlib.h
@@ -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 @@ int vdlPlaybackCopyFrame(VDL_HANDLE, const vidix_dma_t * );
}
#endif
-#endif /* VIDIXLIB_H */
+#endif /* MPLAYER_VIDIXLIB_H */