From 427bdb5b558b995e556ed3e708dfbe91f257d091 Mon Sep 17 00:00:00 2001 From: emersion Date: Sat, 23 Sep 2017 10:26:01 +0200 Subject: [PATCH] Use more consistent include guard names --- include/backend/drm-properties.h | 4 ++-- include/backend/drm-util.h | 4 ++-- include/backend/drm.h | 4 ++-- include/backend/libinput.h | 4 ++-- include/backend/multi.h | 4 ++-- include/backend/session/direct-ipc.h | 4 ++-- include/backend/wayland.h | 4 ++-- include/render/gles2.h | 5 +++-- include/wlr/backend.h | 4 ++-- include/wlr/backend/interface.h | 4 ++-- include/wlr/backend/multi.h | 4 ++-- include/wlr/backend/session.h | 4 ++-- include/wlr/backend/session/interface.h | 4 ++-- include/wlr/interfaces/wlr_data_source.h | 5 +++-- include/wlr/interfaces/wlr_input_device.h | 5 +++-- include/wlr/interfaces/wlr_keyboard.h | 5 +++-- include/wlr/interfaces/wlr_output.h | 5 +++-- include/wlr/interfaces/wlr_pointer.h | 5 +++-- include/wlr/interfaces/wlr_tablet_pad.h | 5 +++-- include/wlr/interfaces/wlr_tablet_tool.h | 5 +++-- include/wlr/interfaces/wlr_touch.h | 5 +++-- include/wlr/render.h | 5 +++-- include/wlr/render/gles2.h | 5 +++-- include/wlr/render/interface.h | 5 +++-- include/wlr/render/matrix.h | 4 ++-- include/wlr/types/wlr_box.h | 5 +++-- include/wlr/types/wlr_compositor.h | 6 ++++-- include/wlr/types/wlr_cursor.h | 5 +++-- include/wlr/types/wlr_data_device_manager.h | 4 ++-- include/wlr/types/wlr_data_source.h | 4 ++-- include/wlr/types/wlr_gamma_control.h | 5 +++-- include/wlr/types/wlr_input_device.h | 4 ++-- include/wlr/types/wlr_keyboard.h | 5 +++-- include/wlr/types/wlr_output.h | 5 +++-- include/wlr/types/wlr_output_layout.h | 5 +++-- include/wlr/types/wlr_pointer.h | 5 +++-- include/wlr/types/wlr_region.h | 4 ++-- include/wlr/types/wlr_seat.h | 5 +++-- include/wlr/types/wlr_surface.h | 5 +++-- include/wlr/types/wlr_tablet_pad.h | 5 +++-- include/wlr/types/wlr_tablet_tool.h | 5 +++-- include/wlr/types/wlr_touch.h | 5 +++-- include/wlr/types/wlr_wl_shell.h | 5 +++-- include/wlr/types/wlr_xdg_shell_v6.h | 5 +++-- include/wlr/util/list.h | 4 ++-- include/wlr/util/log.h | 5 +++-- include/wlr/xcursor.h | 6 ++++-- include/wlr/xwayland.h | 5 +++-- 48 files changed, 128 insertions(+), 96 deletions(-) diff --git a/include/backend/drm-properties.h b/include/backend/drm-properties.h index 7a061dd30..7de386ea5 100644 --- a/include/backend/drm-properties.h +++ b/include/backend/drm-properties.h @@ -1,5 +1,5 @@ -#ifndef DRM_PROPERTIES_H -#define DRM_PROPERTIES_H +#ifndef BACKEND_DRM_PROPERTIES_H +#define BACKEND_DRM_PROPERTIES_H #include #include diff --git a/include/backend/drm-util.h b/include/backend/drm-util.h index 9abee6eae..6818b4dbd 100644 --- a/include/backend/drm-util.h +++ b/include/backend/drm-util.h @@ -1,5 +1,5 @@ -#ifndef WLR_DRM_UTIL_H -#define WLR_DRM_UTIL_H +#ifndef BACKEND_DRM_UTIL_H +#define BACKEND_DRM_UTIL_H #include #include diff --git a/include/backend/drm.h b/include/backend/drm.h index 342a980ce..122d49efa 100644 --- a/include/backend/drm.h +++ b/include/backend/drm.h @@ -1,5 +1,5 @@ -#ifndef DRM_BACKEND_H -#define DRM_BACKEND_H +#ifndef BACKEND_DRM_H +#define BACKEND_DRM_H #include #include diff --git a/include/backend/libinput.h b/include/backend/libinput.h index f484ea8d8..bb6083a49 100644 --- a/include/backend/libinput.h +++ b/include/backend/libinput.h @@ -1,5 +1,5 @@ -#ifndef _WLR_BACKEND_LIBINPUT_INTERNAL_H -#define _WLR_BACKEND_LIBINPUT_INTERNAL_H +#ifndef BACKEND_LIBINPUT_H +#define BACKEND_LIBINPUT_H #include #include #include diff --git a/include/backend/multi.h b/include/backend/multi.h index c7a2198ec..2c409b3ad 100644 --- a/include/backend/multi.h +++ b/include/backend/multi.h @@ -1,5 +1,5 @@ -#ifndef _WLR_MULTI_BACKEND_INTERNAL -#define _WLR_MULTI_BACKEND_INTERNAL +#ifndef BACKEND_MULTI_H +#define BACKEND_MULTI_H #include #include diff --git a/include/backend/session/direct-ipc.h b/include/backend/session/direct-ipc.h index 2189d6fa9..c660b58fd 100644 --- a/include/backend/session/direct-ipc.h +++ b/include/backend/session/direct-ipc.h @@ -1,5 +1,5 @@ -#ifndef SESSION_DIRECT_IPC -#define SESSION_DIRECT_IPC +#ifndef BACKEND_SESSION_DIRECT_IPC_H +#define BACKEND_SESSION_DIRECT_IPC_H #include diff --git a/include/backend/wayland.h b/include/backend/wayland.h index 5e278dc97..917a798a1 100644 --- a/include/backend/wayland.h +++ b/include/backend/wayland.h @@ -1,5 +1,5 @@ -#ifndef _WLR_INTERNAL_BACKEND_WAYLAND_H -#define _WLR_INTERNAL_BACKEND_WAYLAND_H +#ifndef BACKEND_WAYLAND_H +#define BACKEND_WAYLAND_H #include #include diff --git a/include/render/gles2.h b/include/render/gles2.h index 79f13ed92..688a51dde 100644 --- a/include/render/gles2.h +++ b/include/render/gles2.h @@ -1,5 +1,6 @@ -#ifndef _WLR_RENDER_GLES2_INTERNAL_H -#define _WLR_RENDER_GLES2_INTERNAL_H +#ifndef RENDER_GLES2_H +#define RENDER_GLES2_H + #include #include #include diff --git a/include/wlr/backend.h b/include/wlr/backend.h index f92857eb9..6c11152f1 100644 --- a/include/wlr/backend.h +++ b/include/wlr/backend.h @@ -1,5 +1,5 @@ -#ifndef _WLR_BACKEND_H -#define _WLR_BACKEND_H +#ifndef WLR_BACKEND_H +#define WLR_BACKEND_H #include #include diff --git a/include/wlr/backend/interface.h b/include/wlr/backend/interface.h index b0814da51..ea41400aa 100644 --- a/include/wlr/backend/interface.h +++ b/include/wlr/backend/interface.h @@ -1,5 +1,5 @@ -#ifndef _WLR_BACKEND_INTERFACE_H -#define _WLR_BACKEND_INTERFACE_H +#ifndef WLR_BACKEND_INTERFACE_H +#define WLR_BACKEND_INTERFACE_H #include #include diff --git a/include/wlr/backend/multi.h b/include/wlr/backend/multi.h index 3fcaaf1e0..5559f2c11 100644 --- a/include/wlr/backend/multi.h +++ b/include/wlr/backend/multi.h @@ -1,5 +1,5 @@ -#ifndef _WLR_BACKEND_MULTI_H -#define _WLR_BACKEND_MULTI_H +#ifndef WLR_BACKEND_MULTI_H +#define WLR_BACKEND_MULTI_H #include #include diff --git a/include/wlr/backend/session.h b/include/wlr/backend/session.h index 04e701b0f..52cf13b79 100644 --- a/include/wlr/backend/session.h +++ b/include/wlr/backend/session.h @@ -1,5 +1,5 @@ -#ifndef WLR_SESSION_H -#define WLR_SESSION_H +#ifndef WLR_BACKEND_SESSION_H +#define WLR_BACKEND_SESSION_H #include #include diff --git a/include/wlr/backend/session/interface.h b/include/wlr/backend/session/interface.h index 1a029c543..b35ed71da 100644 --- a/include/wlr/backend/session/interface.h +++ b/include/wlr/backend/session/interface.h @@ -1,5 +1,5 @@ -#ifndef WLR_SESSION_INTERFACE_H -#define WLR_SESSION_INTERFACE_H +#ifndef WLR_BACKEND_SESSION_INTERFACE_H +#define WLR_BACKEND_SESSION_INTERFACE_H #include diff --git a/include/wlr/interfaces/wlr_data_source.h b/include/wlr/interfaces/wlr_data_source.h index 221c80071..821bdea07 100644 --- a/include/wlr/interfaces/wlr_data_source.h +++ b/include/wlr/interfaces/wlr_data_source.h @@ -1,5 +1,6 @@ -#ifndef _WLR_INTERFACES_DATA_SOURCE_H -#define _WLR_INTERFACES_DATA_SOURCE_H +#ifndef WLR_INTERFACES_WLR_DATA_SOURCE_H +#define WLR_INTERFACES_WLR_DATA_SOURCE_H + #include struct wlr_data_source_impl { diff --git a/include/wlr/interfaces/wlr_input_device.h b/include/wlr/interfaces/wlr_input_device.h index b236a24a7..2a681ff8d 100644 --- a/include/wlr/interfaces/wlr_input_device.h +++ b/include/wlr/interfaces/wlr_input_device.h @@ -1,5 +1,6 @@ -#ifndef _WLR_INTERFACES_INPUT_DEVICE_H -#define _WLR_INTERFACES_INPUT_DEVICE_H +#ifndef WLR_INTERFACES_WLR_INPUT_DEVICE_H +#define WLR_INTERFACES_WLR_INPUT_DEVICE_H + #include struct wlr_input_device_impl { diff --git a/include/wlr/interfaces/wlr_keyboard.h b/include/wlr/interfaces/wlr_keyboard.h index 779b302fd..6fbb3f683 100644 --- a/include/wlr/interfaces/wlr_keyboard.h +++ b/include/wlr/interfaces/wlr_keyboard.h @@ -1,5 +1,6 @@ -#ifndef _WLR_INTERFACE_KEYBOARD_H -#define _WLR_INTERFACE_KEYBOARD_H +#ifndef WLR_INTERFACE_WLR_KEYBOARD_H +#define WLR_INTERFACE_WLR_KEYBOARD_H + #include #include diff --git a/include/wlr/interfaces/wlr_output.h b/include/wlr/interfaces/wlr_output.h index a95fe5884..15a3a619e 100644 --- a/include/wlr/interfaces/wlr_output.h +++ b/include/wlr/interfaces/wlr_output.h @@ -1,5 +1,6 @@ -#ifndef _WLR_INTERFACE_OUTPUT_H -#define _WLR_INTERFACE_OUTPUT_H +#ifndef WLR_INTERFACE_WLR_OUTPUT_H +#define WLR_INTERFACE_WLR_OUTPUT_H + #include #include diff --git a/include/wlr/interfaces/wlr_pointer.h b/include/wlr/interfaces/wlr_pointer.h index 8d4bf7036..af677b979 100644 --- a/include/wlr/interfaces/wlr_pointer.h +++ b/include/wlr/interfaces/wlr_pointer.h @@ -1,5 +1,6 @@ -#ifndef _WLR_INTERFACES_POINTER_H -#define _WLR_INTERFACES_POINTER_H +#ifndef WLR_INTERFACES_WLR_POINTER_H +#define WLR_INTERFACES_WLR_POINTER_H + #include struct wlr_pointer_impl { diff --git a/include/wlr/interfaces/wlr_tablet_pad.h b/include/wlr/interfaces/wlr_tablet_pad.h index 81af3c3fa..5ec1e3ebd 100644 --- a/include/wlr/interfaces/wlr_tablet_pad.h +++ b/include/wlr/interfaces/wlr_tablet_pad.h @@ -1,5 +1,6 @@ -#ifndef _WLR_INTERFACES_TABLET_PAD_H -#define _WLR_INTERFACES_TABLET_PAD_H +#ifndef WLR_INTERFACES_WLR_TABLET_PAD_H +#define WLR_INTERFACES_WLR_TABLET_PAD_H + #include struct wlr_tablet_pad_impl { diff --git a/include/wlr/interfaces/wlr_tablet_tool.h b/include/wlr/interfaces/wlr_tablet_tool.h index 43a24fd06..347a00036 100644 --- a/include/wlr/interfaces/wlr_tablet_tool.h +++ b/include/wlr/interfaces/wlr_tablet_tool.h @@ -1,5 +1,6 @@ -#ifndef _WLR_INTERFACES_TABLET_TOOL_H -#define _WLR_INTERFACES_TABLET_TOOL_H +#ifndef WLR_INTERFACES_WLR_TABLET_TOOL_H +#define WLR_INTERFACES_WLR_TABLET_TOOL_H + #include struct wlr_tablet_tool_impl { diff --git a/include/wlr/interfaces/wlr_touch.h b/include/wlr/interfaces/wlr_touch.h index b5fcef18d..63bac6b8a 100644 --- a/include/wlr/interfaces/wlr_touch.h +++ b/include/wlr/interfaces/wlr_touch.h @@ -1,5 +1,6 @@ -#ifndef _WLR_INTERFACES_TOUCH_H -#define _WLR_INTERFACES_TOUCH_H +#ifndef WLR_INTERFACES_WLR_TOUCH_H +#define WLR_INTERFACES_WLR_TOUCH_H + #include struct wlr_touch_impl { diff --git a/include/wlr/render.h b/include/wlr/render.h index b79249286..325f8c017 100644 --- a/include/wlr/render.h +++ b/include/wlr/render.h @@ -1,5 +1,6 @@ -#ifndef _WLR_RENDER_H -#define _WLR_RENDER_H +#ifndef WLR_RENDER_H +#define WLR_RENDER_H + #include #include #include diff --git a/include/wlr/render/gles2.h b/include/wlr/render/gles2.h index 4a944eb76..25e760d53 100644 --- a/include/wlr/render/gles2.h +++ b/include/wlr/render/gles2.h @@ -1,5 +1,6 @@ -#ifndef _WLR_GLES2_RENDERER_H -#define _WLR_GLES2_RENDERER_H +#ifndef WLR_RENDER_GLES2_H +#define WLR_RENDER_GLES2_H + #include #include diff --git a/include/wlr/render/interface.h b/include/wlr/render/interface.h index c00e07011..e3ba04147 100644 --- a/include/wlr/render/interface.h +++ b/include/wlr/render/interface.h @@ -1,5 +1,6 @@ -#ifndef _WLR_RENDER_INTERFACE_H -#define _WLR_RENDER_INTERFACE_H +#ifndef WLR_RENDER_INTERFACE_H +#define WLR_RENDER_INTERFACE_H + #include #include #include diff --git a/include/wlr/render/matrix.h b/include/wlr/render/matrix.h index 789f73410..177af4b35 100644 --- a/include/wlr/render/matrix.h +++ b/include/wlr/render/matrix.h @@ -1,5 +1,5 @@ -#ifndef _WLR_RENDER_MATRIX_H -#define _WLR_RENDER_MATRIX_H +#ifndef WLR_RENDER_MATRIX_H +#define WLR_RENDER_MATRIX_H #include diff --git a/include/wlr/types/wlr_box.h b/include/wlr/types/wlr_box.h index e2b1ab4e4..5b8b00c97 100644 --- a/include/wlr/types/wlr_box.h +++ b/include/wlr/types/wlr_box.h @@ -1,5 +1,6 @@ -#ifndef _WLR_TYPES_GEOMETRY_H -#define _WLR_TYPES_GEOMETRY_H +#ifndef WLR_TYPES_WLR_BOX_H +#define WLR_TYPES_WLR_BOX_H + #include struct wlr_box { diff --git a/include/wlr/types/wlr_compositor.h b/include/wlr/types/wlr_compositor.h index 58a937600..b2f5a972c 100644 --- a/include/wlr/types/wlr_compositor.h +++ b/include/wlr/types/wlr_compositor.h @@ -1,5 +1,6 @@ -#ifndef _EXAMPLE_COMPOSITOR_H -#define _EXAMPLE_COMPOSITOR_H +#ifndef WLR_TYPES_WLR_COMPOSITOR_H +#define WLR_TYPES_WLR_COMPOSITOR_H + #include #include @@ -22,4 +23,5 @@ struct wlr_compositor *wlr_compositor_create(struct wl_display *display, struct wlr_surface; void wl_compositor_surface_destroyed(struct wlr_compositor *wlr_compositor, struct wlr_surface *surface); + #endif diff --git a/include/wlr/types/wlr_cursor.h b/include/wlr/types/wlr_cursor.h index 88390e0d2..e8c13b1d4 100644 --- a/include/wlr/types/wlr_cursor.h +++ b/include/wlr/types/wlr_cursor.h @@ -1,5 +1,6 @@ -#ifndef _WLR_TYPES_CURSOR_H -#define _WLR_TYPES_CURSOR_H +#ifndef WLR_TYPES_WLR_CURSOR_H +#define WLR_TYPES_WLR_CURSOR_H + #include #include #include diff --git a/include/wlr/types/wlr_data_device_manager.h b/include/wlr/types/wlr_data_device_manager.h index d7ae46c8d..500f8acdf 100644 --- a/include/wlr/types/wlr_data_device_manager.h +++ b/include/wlr/types/wlr_data_device_manager.h @@ -1,5 +1,5 @@ -#ifndef _WLR_TYPES_DATA_DEVICE_MANAGER_H -#define _WLR_TYPES_DATA_DEVICE_MANAGER_H +#ifndef WLR_TYPES_WLR_DATA_DEVICE_MANAGER_H +#define WLR_TYPES_WLR_DATA_DEVICE_MANAGER_H #include diff --git a/include/wlr/types/wlr_data_source.h b/include/wlr/types/wlr_data_source.h index 63b0fe2a3..19834cb64 100644 --- a/include/wlr/types/wlr_data_source.h +++ b/include/wlr/types/wlr_data_source.h @@ -1,5 +1,5 @@ -#ifndef _WLR_TYPES_DATA_SOURCE_H -#define _WLR_TYPES_DATA_SOURCE_H +#ifndef WLR_TYPES_WLR_DATA_SOURCE_H +#define WLR_TYPES_WLR_DATA_SOURCE_H #include #include diff --git a/include/wlr/types/wlr_gamma_control.h b/include/wlr/types/wlr_gamma_control.h index 259c64748..96c9f545f 100644 --- a/include/wlr/types/wlr_gamma_control.h +++ b/include/wlr/types/wlr_gamma_control.h @@ -1,5 +1,6 @@ -#ifndef _WLR_GAMMA_CONTROL_H -#define _WLR_GAMMA_CONTROL_H +#ifndef WLR_TYPES_WLR_GAMMA_CONTROL_H +#define WLR_TYPES_WLR_GAMMA_CONTROL_H + #include struct wlr_gamma_control_manager { diff --git a/include/wlr/types/wlr_input_device.h b/include/wlr/types/wlr_input_device.h index 5a41ce9d0..50b0fb88e 100644 --- a/include/wlr/types/wlr_input_device.h +++ b/include/wlr/types/wlr_input_device.h @@ -1,5 +1,5 @@ -#ifndef _WLR_TYPES_INPUT_H -#define _WLR_TYPES_INPUT_H +#ifndef WLR_TYPES_WLR_INPUT_DEVICE_H +#define WLR_TYPES_WLR_INPUT_DEVICE_H enum wlr_button_state { WLR_BUTTON_RELEASED, diff --git a/include/wlr/types/wlr_keyboard.h b/include/wlr/types/wlr_keyboard.h index ce7d6659e..3f5d0d0c6 100644 --- a/include/wlr/types/wlr_keyboard.h +++ b/include/wlr/types/wlr_keyboard.h @@ -1,5 +1,6 @@ -#ifndef _WLR_TYPES_KEYBOARD_H -#define _WLR_TYPES_KEYBOARD_H +#ifndef WLR_TYPES_WLR_KEYBOARD_H +#define WLR_TYPES_WLR_KEYBOARD_H + #include #include diff --git a/include/wlr/types/wlr_output.h b/include/wlr/types/wlr_output.h index b70bd19eb..3208acacb 100644 --- a/include/wlr/types/wlr_output.h +++ b/include/wlr/types/wlr_output.h @@ -1,5 +1,6 @@ -#ifndef _WLR_TYPES_OUTPUT_H -#define _WLR_TYPES_OUTPUT_H +#ifndef WLR_TYPES_WLR_OUTPUT_H +#define WLR_TYPES_WLR_OUTPUT_H + #include #include #include diff --git a/include/wlr/types/wlr_output_layout.h b/include/wlr/types/wlr_output_layout.h index 1f4a96d53..fe09106f3 100644 --- a/include/wlr/types/wlr_output_layout.h +++ b/include/wlr/types/wlr_output_layout.h @@ -1,5 +1,6 @@ -#ifndef _WLR_TYPES_OUTPUT_LAYOUT_H -#define _WLR_TYPES_OUTPUT_LAYOUT_H +#ifndef WLR_TYPES_WLR_OUTPUT_LAYOUT_H +#define WLR_TYPES_WLR_OUTPUT_LAYOUT_H + #include #include #include diff --git a/include/wlr/types/wlr_pointer.h b/include/wlr/types/wlr_pointer.h index 9153963aa..a59d88175 100644 --- a/include/wlr/types/wlr_pointer.h +++ b/include/wlr/types/wlr_pointer.h @@ -1,5 +1,6 @@ -#ifndef _WLR_TYPES_POINTER_H -#define _WLR_TYPES_POINTER_H +#ifndef WLR_TYPES_WLR_POINTER_H +#define WLR_TYPES_WLR_POINTER_H + #include #include #include diff --git a/include/wlr/types/wlr_region.h b/include/wlr/types/wlr_region.h index 9a64ac13d..6d59ee5e3 100644 --- a/include/wlr/types/wlr_region.h +++ b/include/wlr/types/wlr_region.h @@ -1,5 +1,5 @@ -#ifndef _WLR_TYPES_REGION_H -#define _WLR_TYPES_REGION_H +#ifndef WLR_TYPES_WLR_REGION_H +#define WLR_TYPES_WLR_REGION_H struct wl_resource; diff --git a/include/wlr/types/wlr_seat.h b/include/wlr/types/wlr_seat.h index aa17d650c..e7bd82fb8 100644 --- a/include/wlr/types/wlr_seat.h +++ b/include/wlr/types/wlr_seat.h @@ -1,5 +1,6 @@ -#ifndef _WLR_TYPES_SEAT_H -#define _WLR_TYPES_SEAT_H +#ifndef WLR_TYPES_WLR_SEAT_H +#define WLR_TYPES_WLR_SEAT_H + #include #include #include diff --git a/include/wlr/types/wlr_surface.h b/include/wlr/types/wlr_surface.h index 5fb648be6..87d421e3c 100644 --- a/include/wlr/types/wlr_surface.h +++ b/include/wlr/types/wlr_surface.h @@ -1,5 +1,6 @@ -#ifndef _WLR_TYPES_WLR_SURFACE_H -#define _WLR_TYPES_WLR_SURFACE_H +#ifndef WLR_TYPES_WLR_SURFACE_H +#define WLR_TYPES_WLR_SURFACE_H + #include #include #include diff --git a/include/wlr/types/wlr_tablet_pad.h b/include/wlr/types/wlr_tablet_pad.h index 6c14c669c..b747e6f1f 100644 --- a/include/wlr/types/wlr_tablet_pad.h +++ b/include/wlr/types/wlr_tablet_pad.h @@ -1,5 +1,6 @@ -#ifndef _WLR_TYPES_TABLET_PAD_H -#define _WLR_TYPES_TABLET_PAD_H +#ifndef WLR_TYPES_WLR_TABLET_PAD_H +#define WLR_TYPES_WLR_TABLET_PAD_H + #include #include #include diff --git a/include/wlr/types/wlr_tablet_tool.h b/include/wlr/types/wlr_tablet_tool.h index 9090828a4..f04dfe151 100644 --- a/include/wlr/types/wlr_tablet_tool.h +++ b/include/wlr/types/wlr_tablet_tool.h @@ -1,5 +1,6 @@ -#ifndef _WLR_TYPES_TABLET_TOOL_H -#define _WLR_TYPES_TABLET_TOOL_H +#ifndef WLR_TYPES_TABLET_TOOL_H +#define WLR_TYPES_TABLET_TOOL_H + #include #include #include diff --git a/include/wlr/types/wlr_touch.h b/include/wlr/types/wlr_touch.h index 1a27cad3d..f1165c873 100644 --- a/include/wlr/types/wlr_touch.h +++ b/include/wlr/types/wlr_touch.h @@ -1,5 +1,6 @@ -#ifndef _WLR_TYPES_TOUCH_H -#define _WLR_TYPES_TOUCH_H +#ifndef WLR_TYPES_WLR_TOUCH_H +#define WLR_TYPES_WLR_TOUCH_H + #include #include diff --git a/include/wlr/types/wlr_wl_shell.h b/include/wlr/types/wlr_wl_shell.h index a085711b8..1443bbf01 100644 --- a/include/wlr/types/wlr_wl_shell.h +++ b/include/wlr/types/wlr_wl_shell.h @@ -1,5 +1,6 @@ -#ifndef _WLR_WL_SHELL_H -#define _WLR_WL_SHELL_H +#ifndef WLR_TYPES_WLR_WL_SHELL_H +#define WLR_TYPES_WLR_WL_SHELL_H + #include struct wlr_wl_shell { diff --git a/include/wlr/types/wlr_xdg_shell_v6.h b/include/wlr/types/wlr_xdg_shell_v6.h index 786bf4e61..cc52d9c7d 100644 --- a/include/wlr/types/wlr_xdg_shell_v6.h +++ b/include/wlr/types/wlr_xdg_shell_v6.h @@ -1,5 +1,6 @@ -#ifndef _WLR_XDG_SHELL_V6_H -#define _WLR_XDG_SHELL_V6_H +#ifndef WLR_TYPES_WLR_XDG_SHELL_V6_H +#define WLR_TYPES_WLR_XDG_SHELL_V6_H + #include #include diff --git a/include/wlr/util/list.h b/include/wlr/util/list.h index 6e746ec44..02039d89a 100644 --- a/include/wlr/util/list.h +++ b/include/wlr/util/list.h @@ -1,5 +1,5 @@ -#ifndef _WLR_UTIL_LIST_H -#define _WLR_UTIL_LIST_H +#ifndef WLR_UTIL_LIST_H +#define WLR_UTIL_LIST_H #include diff --git a/include/wlr/util/log.h b/include/wlr/util/log.h index 2acaa2ed1..3de2cacf9 100644 --- a/include/wlr/util/log.h +++ b/include/wlr/util/log.h @@ -1,5 +1,6 @@ -#ifndef _WLR_UTIL_LOG_H -#define _WLR_UTIL_LOG_H +#ifndef WLR_UTIL_LOG_H +#define WLR_UTIL_LOG_H + #include #include #include diff --git a/include/wlr/xcursor.h b/include/wlr/xcursor.h index ae07b4faa..c12d54055 100644 --- a/include/wlr/xcursor.h +++ b/include/wlr/xcursor.h @@ -27,8 +27,10 @@ * This is adapted from wayland-cursor, but with the wl_shm client stuff removed * so we can use it on the compositor, too. */ -#ifndef _WLR_XCURSOR_H -#define _WLR_XCURSOR_H + +#ifndef WLR_XCURSOR_H +#define WLR_XCURSOR_H + #include struct wlr_xcursor_image { diff --git a/include/wlr/xwayland.h b/include/wlr/xwayland.h index a0fb34ce3..41b8042ff 100644 --- a/include/wlr/xwayland.h +++ b/include/wlr/xwayland.h @@ -1,5 +1,6 @@ -#ifndef _WLR_XWAYLAND_H -#define _WLR_XWAYLAND_H +#ifndef WLR_XWAYLAND_H +#define WLR_XWAYLAND_H + #include #include #include