wayland: Be consistent about #include-guard names
authorKristian Høgsberg <krh@bitplanet.net>
Mon, 21 Oct 2013 21:39:06 +0000 (14:39 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 21 Oct 2013 21:39:06 +0000 (14:39 -0700)
We had a mix of inconsistent names, some of which were non-conformant.
Standardize on all-uppercase-and-underscore naming convention.

https://bugs.freedesktop.org/show_bug.cgi?id=70679

cursor/xcursor.h
src/wayland-client.h
src/wayland-egl.h
src/wayland-server.h

index 91747d9..f518767 100644 (file)
@@ -20,8 +20,8 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-#ifndef _XCURSOR_H_
-#define _XCURSOR_H_
+#ifndef XCURSOR_H
+#define XCURSOR_H
 
 typedef int            XcursorBool;
 typedef unsigned int   XcursorUInt;
index cf92174..43ba3fc 100644 (file)
@@ -20,8 +20,8 @@
  * OF THIS SOFTWARE.
  */
 
-#ifndef _WAYLAND_CLIENT_H
-#define _WAYLAND_CLIENT_H
+#ifndef WAYLAND_CLIENT_H
+#define WAYLAND_CLIENT_H
 
 #include "wayland-util.h"
 #include "wayland-version.h"
index 8255151..c40280b 100644 (file)
@@ -21,8 +21,8 @@
  * OF THIS SOFTWARE.
  */
 
-#ifndef _WAYLAND_EGL_H
-#define _WAYLAND_EGL_H
+#ifndef WAYLAND_EGL_H
+#define WAYLAND_EGL_H
 
 #ifdef  __cplusplus
 extern "C" {
index c93987d..36c9a15 100644 (file)
@@ -20,8 +20,8 @@
  * OF THIS SOFTWARE.
  */
 
-#ifndef WAYLAND_H
-#define WAYLAND_H
+#ifndef WAYLAND_SERVER_H
+#define WAYLAND_SERVER_H
 
 #ifdef  __cplusplus
 extern "C" {