summaryrefslogtreecommitdiff
path: root/src/savage_sarea.h
diff options
context:
space:
mode:
authorTormod Volden <debian.tormod@gmail.com>2011-12-04 23:36:19 +0100
committerTormod Volden <debian.tormod@gmail.com>2012-01-03 22:40:54 +0100
commit0600b7279382c66445506fa98dc50299574a1abd (patch)
treeb36367160a623acbb1e81f5a81417c086edc8306 /src/savage_sarea.h
parent10f319e43f77fef450aa723eff25bd200600c48d (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_sarea.h')
-rw-r--r--src/savage_sarea.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/savage_sarea.h b/src/savage_sarea.h
index 1debc6d..e2ea3e5 100644
--- a/src/savage_sarea.h
+++ b/src/savage_sarea.h
@@ -23,11 +23,11 @@
* DEALINGS IN THE SOFTWARE.
*/
-#ifndef __SAVAGE_SAREA_H__
-#define __SAVAGE_SAREA_H__
+#ifndef SAVAGE_SAREA_H
+#define SAVAGE_SAREA_H
-#ifndef __SAVAGE_SAREA_DEFINES__
-#define __SAVAGE_SAREA_DEFINES__
+#ifndef SAVAGE_SAREA_DEFINES
+#define SAVAGE_SAREA_DEFINES
/* 2 heaps (1 for card, 1 for agp), each divided into upto 128
* regions, subject to a minimum region size of (1<<16) == 64k.
@@ -42,7 +42,7 @@
#define SAVAGE_NR_TEX_REGIONS 16
#define SAVAGE_LOG_MIN_TEX_REGION_SIZE 16
-#endif /* __SAVAGE_SAREA_DEFINES__ */
+#endif /* SAVAGE_SAREA_DEFINES */
typedef struct {
/* LRU lists for texture memory in agp space and on the card.
@@ -55,4 +55,4 @@ typedef struct {
int ctxOwner;
} SAVAGESAREAPrivRec, *SAVAGESAREAPrivPtr;
-#endif /* __SAVAGE_SAREA_H__ */
+#endif /* SAVAGE_SAREA_H */