Commit deddea65 authored by Kristian Høgsberg's avatar Kristian Høgsberg
Browse files

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
parent 84247b75
...@@ -20,8 +20,8 @@ ...@@ -20,8 +20,8 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
#ifndef _XCURSOR_H_ #ifndef XCURSOR_H
#define _XCURSOR_H_ #define XCURSOR_H
typedef int XcursorBool; typedef int XcursorBool;
typedef unsigned int XcursorUInt; typedef unsigned int XcursorUInt;
......
...@@ -20,8 +20,8 @@ ...@@ -20,8 +20,8 @@
* OF THIS SOFTWARE. * OF THIS SOFTWARE.
*/ */
#ifndef _WAYLAND_CLIENT_H #ifndef WAYLAND_CLIENT_H
#define _WAYLAND_CLIENT_H #define WAYLAND_CLIENT_H
#include "wayland-util.h" #include "wayland-util.h"
#include "wayland-version.h" #include "wayland-version.h"
......
...@@ -21,8 +21,8 @@ ...@@ -21,8 +21,8 @@
* OF THIS SOFTWARE. * OF THIS SOFTWARE.
*/ */
#ifndef _WAYLAND_EGL_H #ifndef WAYLAND_EGL_H
#define _WAYLAND_EGL_H #define WAYLAND_EGL_H
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
......
...@@ -20,8 +20,8 @@ ...@@ -20,8 +20,8 @@
* OF THIS SOFTWARE. * OF THIS SOFTWARE.
*/ */
#ifndef WAYLAND_H #ifndef WAYLAND_SERVER_H
#define WAYLAND_H #define WAYLAND_SERVER_H
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment