From: Kristian Høgsberg Date: Mon, 21 Oct 2013 21:39:06 +0000 (-0700) Subject: wayland: Be consistent about #include-guard names X-Git-Tag: 1.3.91~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=deddea6549af5f9c4f700b0949c2cb6393edb1bb;p=platform%2Fupstream%2Fwayland.git 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 --- 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" {