diff options
author | Tormod Volden <debian.tormod@gmail.com> | 2011-12-04 23:36:19 +0100 |
---|---|---|
committer | Tormod Volden <debian.tormod@gmail.com> | 2012-01-03 22:40:54 +0100 |
commit | 0600b7279382c66445506fa98dc50299574a1abd (patch) | |
tree | b36367160a623acbb1e81f5a81417c086edc8306 /src/savage_drm.h | |
parent | 10f319e43f77fef450aa723eff25bd200600c48d (diff) |
Avoid leading underscores in #include guards
In a user header file, the macro name should not begin with `_'
http://gcc.gnu.org/onlinedocs/cpp/Once_002dOnly-Headers.html
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Diffstat (limited to 'src/savage_drm.h')
-rw-r--r-- | src/savage_drm.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/savage_drm.h b/src/savage_drm.h index 62bd49b..7d624b5 100644 --- a/src/savage_drm.h +++ b/src/savage_drm.h @@ -22,11 +22,11 @@ * DEALINGS IN THE SOFTWARE. */ -#ifndef __SAVAGE_DRM_H__ -#define __SAVAGE_DRM_H__ +#ifndef SAVAGE_DRM_H +#define SAVAGE_DRM_H -#ifndef __SAVAGE_SAREA_DEFINES__ -#define __SAVAGE_SAREA_DEFINES__ +#ifndef SAVAGE_SAREA_DEFINES +#define SAVAGE_SAREA_DEFINES #define DRM_SAVAGE_MEM_PAGE (1UL<<12) #define DRM_SAVAGE_MEM_WORK 32 @@ -96,7 +96,7 @@ typedef struct drm_savage_get_physcis_address #define SAVAGE_NR_TEX_REGIONS 16 /* num. of global texture manage list element*/ #define SAVAGE_LOG_MIN_TEX_REGION_SIZE 16 /* each region 64K, Jiayo Hsu */ -#endif /* __SAVAGE_SAREA_DEFINES__ */ +#endif /* SAVAGE_SAREA_DEFINES */ /* drm_tex_region_t define in drm.h */ @@ -245,4 +245,4 @@ typedef struct _drm_savage_blit { int source_pitch, dest_pitch; } drm_savage_blit_t; -#endif +#endif /* SAVAGE_DRM_H */ |