# HG changeset patch # User diego # Date 1199218880 0 # Node ID d88f5f82826e6405100e85bba8923ec93dfc853f # Parent 8338eda7af28108303dfb4511b8a74b47663c5cf Replace multiple inclusion guards with leading underscores by default names. Leading underscores are reserved for system identifiers. diff -r 8338eda7af28 -r d88f5f82826e drivers/mga_vid.h --- a/drivers/mga_vid.h Tue Jan 01 20:11:44 2008 +0000 +++ b/drivers/mga_vid.h Tue Jan 01 20:21:20 2008 +0000 @@ -12,8 +12,8 @@ * license. See http://www.gnu.org/copyleft/gpl.html for details. */ -#ifndef __LINUX_MGAVID_H -#define __LINUX_MGAVID_H +#ifndef MGA_VID_H +#define MGA_VID_H typedef struct mga_vid_config_s { @@ -56,4 +56,4 @@ #define MGA_VID_VERSION 0x0201 -#endif +#endif /* MGA_VID_H */ diff -r 8338eda7af28 -r d88f5f82826e drivers/radeon.h --- a/drivers/radeon.h Tue Jan 01 20:11:44 2008 +0000 +++ b/drivers/radeon.h Tue Jan 01 20:21:20 2008 +0000 @@ -8,8 +8,8 @@ * and partly compatible with Rage128 set (in OV0, CAP0, CAP1 parts) */ -#ifndef _RADEON_H -#define _RADEON_H +#ifndef RADEON_H +#define RADEON_H /* radeon PCI ids */ @@ -2043,4 +2043,4 @@ /* End of field default values. */ -#endif /* RADEON_H */ +#endif /* RADEON_H */ diff -r 8338eda7af28 -r d88f5f82826e drivers/radeon_vid.h --- a/drivers/radeon_vid.h Tue Jan 01 20:11:44 2008 +0000 +++ b/drivers/radeon_vid.h Tue Jan 01 20:21:20 2008 +0000 @@ -13,8 +13,8 @@ * mplayer's package. */ -#ifndef __RADEON_VID_INCLUDED -#define __RADEON_VID_INCLUDED +#ifndef RADEON_VID_H +#define RADEON_VID_H typedef struct mga_vid_config_s { @@ -114,4 +114,4 @@ #define MGA_VID_VERSION 0x0201 -#endif +#endif /* RADEON_VID_H */ diff -r 8338eda7af28 -r d88f5f82826e libaf/af.h --- a/libaf/af.h Tue Jan 01 20:11:44 2008 +0000 +++ b/libaf/af.h Tue Jan 01 20:21:20 2008 +0000 @@ -1,5 +1,5 @@ -#ifndef __af_h__ -#define __af_h__ +#ifndef AF_H +#define AF_H #include @@ -354,4 +354,4 @@ #endif //! \} -#endif /* __af_h__ */ +#endif /* AF_H */ diff -r 8338eda7af28 -r d88f5f82826e libaf/af_format.h --- a/libaf/af_format.h Tue Jan 01 20:11:44 2008 +0000 +++ b/libaf/af_format.h Tue Jan 01 20:21:20 2008 +0000 @@ -1,8 +1,8 @@ /* The sample format system used lin libaf is based on bitmasks. The format definition only refers to the storage format not the resolution. */ -#ifndef __af_format_h__ -#define __af_format_h__ +#ifndef AF_FORMAT_H +#define AF_FORMAT_H #ifndef MPLAYER_CONFIG_H #error af_format.h needs config.h @@ -93,4 +93,4 @@ extern char* af_fmt2str(int format, char* str, int size); extern const char* af_fmt2str_short(int format); -#endif /* __af_format_h__ */ +#endif /* AF_FORMAT_H */ diff -r 8338eda7af28 -r d88f5f82826e libaf/af_mp.h --- a/libaf/af_mp.h Tue Jan 01 20:11:44 2008 +0000 +++ b/libaf/af_mp.h Tue Jan 01 20:21:20 2008 +0000 @@ -1,6 +1,6 @@ /* Include file for mplayer specific defines and includes */ -#ifndef __af_mp_h__ -#define __af_mp_h__ +#ifndef AF_MP_H +#define AF_MP_H #include "config.h" #include "mp_msg.h" @@ -19,4 +19,4 @@ #define af_msg(lev, args... ) \ mp_msg(MSGT_AFILTER,(((lev)<0)?((lev)+3):(((lev)==0)?MSGL_INFO:((lev)+5))), ##args ) -#endif /* __af_mp_h__ */ +#endif /* AF_MP_H */ diff -r 8338eda7af28 -r d88f5f82826e libaf/control.h --- a/libaf/control.h Tue Jan 01 20:11:44 2008 +0000 +++ b/libaf/control.h Tue Jan 01 20:21:20 2008 +0000 @@ -1,5 +1,5 @@ -#ifndef __af_control_h -#define __af_control_h +#ifndef AF_CONTROL_H +#define AF_CONTROL_H /********************************************* // Control info struct. @@ -234,4 +234,4 @@ #define AF_CONTROL_PLAYBACK_SPEED 0x00002500 | AF_CONTROL_FILTER_SPECIFIC #define AF_CONTROL_SCALETEMPO_AMOUNT 0x00002600 | AF_CONTROL_FILTER_SPECIFIC -#endif /*__af_control_h */ +#endif /* AF_CONTROL_H */ diff -r 8338eda7af28 -r d88f5f82826e osdep/mmap_anon.h --- a/osdep/mmap_anon.h Tue Jan 01 20:11:44 2008 +0000 +++ b/osdep/mmap_anon.h Tue Jan 01 20:21:20 2008 +0000 @@ -1,8 +1,8 @@ -#ifndef _OSDEP_MMAP_ANON_H_ -#define _OSDEP_MMAP_ANON_H_ +#ifndef MMAP_ANON_H +#define MMAP_ANON_H #include void *mmap_anon(void *, size_t, int, int, off_t); -#endif /* _OSDEP_MMAP_ANON_H_ */ +#endif /* MMAP_ANON_H */ diff -r 8338eda7af28 -r d88f5f82826e parser-cfg.h --- a/parser-cfg.h Tue Jan 01 20:11:44 2008 +0000 +++ b/parser-cfg.h Tue Jan 01 20:21:20 2008 +0000 @@ -1,6 +1,6 @@ -#ifndef _parser_cfg_h -#define _parser_cfg_h +#ifndef PARSER_CFG_H +#define PARSER_CFG_H extern int m_config_parse_config_file(m_config_t* config, char *conffile); -#endif +#endif /* PARSER_CFG_H */ diff -r 8338eda7af28 -r d88f5f82826e parser-mpcmd.h --- a/parser-mpcmd.h Tue Jan 01 20:11:44 2008 +0000 +++ b/parser-mpcmd.h Tue Jan 01 20:21:20 2008 +0000 @@ -1,6 +1,6 @@ -#ifndef _parser_mpcmd_h -#define _parser_mpcmd_h +#ifndef PARSER_MPCMD_H +#define PARSER_MPCMD_H extern play_tree_t* m_config_parse_mp_command_line(m_config_t *config, int argc, char **argv); -#endif +#endif /* PARSER_MPCMD_H */