Use compliant header guard

This commit is contained in:
Bastien Dejean 2013-10-08 11:58:54 +02:00
parent 27d4556392
commit 34b8692796
19 changed files with 38 additions and 38 deletions

View file

@ -1,5 +1,5 @@
#ifndef _BSPWM_H
#define _BSPWM_H
#ifndef BSPWM_H
#define BSPWM_H
#include "types.h"

View file

@ -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"

View file

@ -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

View file

@ -1,5 +1,5 @@
#ifndef _EVENTS_H
#define _EVENTS_H
#ifndef EVENTS_H
#define EVENTS_H
#include <xcb/xcb.h>
#include <xcb/xcb_event.h>

4
ewmh.h
View file

@ -1,5 +1,5 @@
#ifndef _EWMH_H
#define _EWMH_H
#ifndef EWMH_H
#define EWMH_H
#include <xcb/xcb_ewmh.h>

View file

@ -1,5 +1,5 @@
#ifndef _HELPERS_H
#define _HELPERS_H
#ifndef HELPERS_H
#define HELPERS_H
#include <xcb/xcb.h>
#include <stdarg.h>

View file

@ -1,5 +1,5 @@
#ifndef _HISTORY_H
#define _HISTORY_H
#ifndef HISTORY_H
#define HISTORY_H
#include "types.h"

View file

@ -1,5 +1,5 @@
#ifndef _MESSAGES_H
#define _MESSAGES_H
#ifndef MESSAGES_H
#define MESSAGES_H
#include "types.h"

View file

@ -1,5 +1,5 @@
#ifndef _MONITOR_H
#define _MONITOR_H
#ifndef MONITOR_H
#define MONITOR_H
#define DEFAULT_MON_NAME "MONITOR"

View file

@ -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);

View file

@ -1,5 +1,5 @@
#ifndef _QUERY_H
#define _QUERY_H
#ifndef QUERY_H
#define QUERY_H
typedef enum {
DOMAIN_MONITOR,

View file

@ -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);

4
rule.h
View file

@ -1,5 +1,5 @@
#ifndef _RULE_H
#define _RULE_H
#ifndef RULE_H
#define RULE_H
#define MATCH_ALL "*"
#define LST_SEP ","

View file

@ -1,5 +1,5 @@
#ifndef _SETTINGS_H
#define _SETTINGS_H
#ifndef SETTINGS_H
#define SETTINGS_H
#include "types.h"

View file

@ -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);

4
tag.h
View file

@ -1,5 +1,5 @@
#ifndef _TAG_H
#define _TAG_H
#ifndef TAG_H
#define TAG_H
#define MAXTAGS 32
#define DEFAULT_TAG_NAME "*"

4
tree.h
View file

@ -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);

View file

@ -1,5 +1,5 @@
#ifndef _TYPES_H
#define _TYPES_H
#ifndef TYPES_H
#define TYPES_H
#include <stdbool.h>
#include <xcb/xcb.h>

View file

@ -1,5 +1,5 @@
#ifndef _WINDOW_H
#define _WINDOW_H
#ifndef WINDOW_H
#define WINDOW_H
#include <stdarg.h>
#include <xcb/xcb.h>