summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2013-10-21 14:39:06 -0700
committerKristian Høgsberg <krh@bitplanet.net>2013-10-21 14:39:06 -0700
commitdeddea6549af5f9c4f700b0949c2cb6393edb1bb (patch)
tree0c5757943627c9ae727f26a53c48f19a9c00f33e
parent84247b7513abd03720438192c0cd2a815a294dec (diff)
wayland: Be consistent about #include-guard names
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
-rw-r--r--cursor/xcursor.h4
-rw-r--r--src/wayland-client.h4
-rw-r--r--src/wayland-egl.h4
-rw-r--r--src/wayland-server.h4
4 files changed, 8 insertions, 8 deletions
diff --git a/cursor/xcursor.h b/cursor/xcursor.h
index 91747d9..f518767 100644
--- a/cursor/xcursor.h
+++ b/cursor/xcursor.h
@@ -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;
diff --git a/src/wayland-client.h b/src/wayland-client.h
index cf92174..43ba3fc 100644
--- a/src/wayland-client.h
+++ b/src/wayland-client.h
@@ -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"
diff --git a/src/wayland-egl.h b/src/wayland-egl.h
index 8255151..c40280b 100644
--- a/src/wayland-egl.h
+++ b/src/wayland-egl.h
@@ -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" {
diff --git a/src/wayland-server.h b/src/wayland-server.h
index c93987d..36c9a15 100644
--- a/src/wayland-server.h
+++ b/src/wayland-server.h
@@ -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" {