From 34b8692796039cad5aaa2d70a427dcffb88ce9a6 Mon Sep 17 00:00:00 2001 From: Bastien Dejean Date: Tue, 8 Oct 2013 11:58:54 +0200 Subject: [PATCH] Use compliant header guard --- bspwm.h | 4 ++-- common.h | 4 ++-- desktop.h | 4 ++-- events.h | 4 ++-- ewmh.h | 4 ++-- helpers.h | 4 ++-- history.h | 4 ++-- messages.h | 4 ++-- monitor.h | 4 ++-- pointer.h | 4 ++-- query.h | 4 ++-- restore.h | 4 ++-- rule.h | 4 ++-- settings.h | 4 ++-- stack.h | 4 ++-- tag.h | 4 ++-- tree.h | 4 ++-- types.h | 4 ++-- window.h | 4 ++-- 19 files changed, 38 insertions(+), 38 deletions(-) diff --git a/bspwm.h b/bspwm.h index 1fb1166..8dbbb41 100644 --- a/bspwm.h +++ b/bspwm.h @@ -1,5 +1,5 @@ -#ifndef _BSPWM_H -#define _BSPWM_H +#ifndef BSPWM_H +#define BSPWM_H #include "types.h" diff --git a/common.h b/common.h index f20fa6b..4955687 100644 --- a/common.h +++ b/common.h @@ -1,5 +1,5 @@ -#ifndef _COMMON_H -#define _COMMON_H +#ifndef COMMON_H +#define COMMON_H #define DEFAULT_SOCKET_PATH "/tmp/bspwm-socket" #define SOCKET_ENV_VAR "BSPWM_SOCKET" diff --git a/desktop.h b/desktop.h index ebffb87..3a0e45f 100644 --- a/desktop.h +++ b/desktop.h @@ -1,5 +1,5 @@ -#ifndef _DESKTOP_H -#define _DESKTOP_H +#ifndef DESKTOP_H +#define DESKTOP_H #define DEFAULT_DESK_NAME "Desktop" #define WINDOW_GAP 6 diff --git a/events.h b/events.h index 71f7007..f5837ea 100644 --- a/events.h +++ b/events.h @@ -1,5 +1,5 @@ -#ifndef _EVENTS_H -#define _EVENTS_H +#ifndef EVENTS_H +#define EVENTS_H #include #include diff --git a/ewmh.h b/ewmh.h index 9ce79c1..96d1c6a 100644 --- a/ewmh.h +++ b/ewmh.h @@ -1,5 +1,5 @@ -#ifndef _EWMH_H -#define _EWMH_H +#ifndef EWMH_H +#define EWMH_H #include diff --git a/helpers.h b/helpers.h index 69023da..1d0a3c1 100644 --- a/helpers.h +++ b/helpers.h @@ -1,5 +1,5 @@ -#ifndef _HELPERS_H -#define _HELPERS_H +#ifndef HELPERS_H +#define HELPERS_H #include #include diff --git a/history.h b/history.h index 70683ee..793064f 100644 --- a/history.h +++ b/history.h @@ -1,5 +1,5 @@ -#ifndef _HISTORY_H -#define _HISTORY_H +#ifndef HISTORY_H +#define HISTORY_H #include "types.h" diff --git a/messages.h b/messages.h index e4c8997..bd3cbf9 100644 --- a/messages.h +++ b/messages.h @@ -1,5 +1,5 @@ -#ifndef _MESSAGES_H -#define _MESSAGES_H +#ifndef MESSAGES_H +#define MESSAGES_H #include "types.h" diff --git a/monitor.h b/monitor.h index 65dacf7..ebdf2e9 100644 --- a/monitor.h +++ b/monitor.h @@ -1,5 +1,5 @@ -#ifndef _MONITOR_H -#define _MONITOR_H +#ifndef MONITOR_H +#define MONITOR_H #define DEFAULT_MON_NAME "MONITOR" diff --git a/pointer.h b/pointer.h index b410d2f..3762940 100644 --- a/pointer.h +++ b/pointer.h @@ -1,5 +1,5 @@ -#ifndef _POINTER_H -#define _POINTER_H +#ifndef POINTER_H +#define POINTER_H void grab_pointer(pointer_action_t pac); void track_pointer(int root_x, int root_y); diff --git a/query.h b/query.h index d6604f1..a9b3a11 100644 --- a/query.h +++ b/query.h @@ -1,5 +1,5 @@ -#ifndef _QUERY_H -#define _QUERY_H +#ifndef QUERY_H +#define QUERY_H typedef enum { DOMAIN_MONITOR, diff --git a/restore.h b/restore.h index b963aa3..a7cd14b 100644 --- a/restore.h +++ b/restore.h @@ -1,5 +1,5 @@ -#ifndef _RESTORE_H -#define _RESTORE_H +#ifndef RESTORE_H +#define RESTORE_H void restore_tree(char *file_path); void restore_history(char *file_path); diff --git a/rule.h b/rule.h index f6853a9..7eb1095 100644 --- a/rule.h +++ b/rule.h @@ -1,5 +1,5 @@ -#ifndef _RULE_H -#define _RULE_H +#ifndef RULE_H +#define RULE_H #define MATCH_ALL "*" #define LST_SEP "," diff --git a/settings.h b/settings.h index 2d283ce..c5b4bb0 100644 --- a/settings.h +++ b/settings.h @@ -1,5 +1,5 @@ -#ifndef _SETTINGS_H -#define _SETTINGS_H +#ifndef SETTINGS_H +#define SETTINGS_H #include "types.h" diff --git a/stack.h b/stack.h index fe56fbe..75cdeba 100644 --- a/stack.h +++ b/stack.h @@ -1,5 +1,5 @@ -#ifndef _STACK_H -#define _STACK_H +#ifndef STACK_H +#define STACK_H stacking_list_t *make_stack(node_t *n); void stack_insert_after(stacking_list_t *a, node_t *n); diff --git a/tag.h b/tag.h index d1b0da5..36134e8 100644 --- a/tag.h +++ b/tag.h @@ -1,5 +1,5 @@ -#ifndef _TAG_H -#define _TAG_H +#ifndef TAG_H +#define TAG_H #define MAXTAGS 32 #define DEFAULT_TAG_NAME "*" diff --git a/tree.h b/tree.h index 63fd2ed..a17b625 100644 --- a/tree.h +++ b/tree.h @@ -1,5 +1,5 @@ -#ifndef _TREE_H -#define _TREE_H +#ifndef TREE_H +#define TREE_H void arrange(monitor_t *m, desktop_t *d); void apply_layout(monitor_t *m, desktop_t *d, node_t *n, xcb_rectangle_t rect, xcb_rectangle_t root_rect); diff --git a/types.h b/types.h index 4afea9b..09b3412 100644 --- a/types.h +++ b/types.h @@ -1,5 +1,5 @@ -#ifndef _TYPES_H -#define _TYPES_H +#ifndef TYPES_H +#define TYPES_H #include #include diff --git a/window.h b/window.h index 6f44728..fa16268 100644 --- a/window.h +++ b/window.h @@ -1,5 +1,5 @@ -#ifndef _WINDOW_H -#define _WINDOW_H +#ifndef WINDOW_H +#define WINDOW_H #include #include