aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChad Versace <chad.versace@intel.com>2011-02-25 20:12:27 -0800
committerChad Versace <chad.versace@intel.com>2011-02-25 20:44:11 -0800
commit4c16acceec312d24553c4afcccaeff2b8783a152 (patch)
treea6af10c92f0ee789c00c515b4d2e4fff8f1f8d78 /src
parent4d07830d50d1f01df4e712ab2adabda8f4c530ff (diff)
downloadpiglit-4c16acceec312d24553c4afcccaeff2b8783a152.tar.gz
glut_egl: Impose uniformity on include guards
Inconsistent spelling, and a typo too, existed among include guards. Just clobber them all and replace '#pragma once'. Signed-off-by: Chad Versace <chad.versace@intel.com>
Diffstat (limited to 'src')
-rw-r--r--src/glut_egl/glut_egl.h5
-rw-r--r--src/glut_egl/glut_eglint.h5
2 files changed, 2 insertions, 8 deletions
diff --git a/src/glut_egl/glut_egl.h b/src/glut_egl/glut_egl.h
index ad59c05f..8b51b640 100644
--- a/src/glut_egl/glut_egl.h
+++ b/src/glut_egl/glut_egl.h
@@ -23,8 +23,7 @@
* Chia-I Wu <olv@lunarg.com>
*/
-#ifndef GLUT_EGL_H
-#define GLUT_EGL_H
+#pragma once
enum {
GLUT_RGB = 0,
@@ -104,5 +103,3 @@ void glutReshapeFunc(GLUT_EGLreshapeCB func);
void glutKeyboardFunc(GLUT_EGLkeyboardCB func);
void glutSpecialFunc(GLUT_EGLspecialCB func);
void glutSwapBuffers(void);
-
-#endif /* GLUTH */
diff --git a/src/glut_egl/glut_eglint.h b/src/glut_egl/glut_eglint.h
index 89cb45b7..6287ec7e 100644
--- a/src/glut_egl/glut_eglint.h
+++ b/src/glut_egl/glut_eglint.h
@@ -23,8 +23,7 @@
* Chia-I Wu <olv@lunarg.com>
*/
-#ifndef _GLUT_EGLINT_H_
-#define _GLUT_EGLINT_H_
+#pragma once
#include <EGL/egl.h>
#include <glut_egl/glut_egl.h>
@@ -100,5 +99,3 @@ _glutNativeFiniWindow(struct glut_window *win);
void
_glutNativeEventLoop(void);
-
-#endif /* _GLUT_EGLINT_H_ */