commit 68ac4aaed2c5ab24097f10e3c02a15e9afc14c4e
parent b4613e7039c8beef74e278beefca208e1388beb3
Author: Bastien Dejean <nihilhill@gmail.com>
Date: Tue, 8 Oct 2013 21:09:50 +0200
Decrease the header guards collision chances
Diffstat:
6 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/grab.h b/grab.h
@@ -22,8 +22,8 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef GRAB_H
-#define GRAB_H
+#ifndef SXHKD_GRAB_H
+#define SXHKD_GRAB_H
#include "sxhkd.h"
diff --git a/helpers.h b/helpers.h
@@ -22,8 +22,8 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef HELPERS_H
-#define HELPERS_H
+#ifndef SXHKD_HELPERS_H
+#define SXHKD_HELPERS_H
#define LENGTH(x) (sizeof(x) / sizeof(*x))
#define MAXLEN 256
diff --git a/locales.h b/locales.h
@@ -22,8 +22,8 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef LOCALES_H
-#define LOCALES_H
+#ifndef SXHKD_LOCALES_H
+#define SXHKD_LOCALES_H
#define XK_MISCELLANY
#define XK_XKB_KEYS
diff --git a/parse.h b/parse.h
@@ -22,8 +22,8 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef PARSE_H
-#define PARSE_H
+#ifndef SXHKD_PARSE_H
+#define SXHKD_PARSE_H
#include "sxhkd.h"
diff --git a/sxhkd.h b/sxhkd.h
@@ -22,8 +22,8 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef SXHKD_H
-#define SXHKD_H
+#ifndef SXHKD_SXHKD_H
+#define SXHKD_SXHKD_H
#include <xcb/xcb_keysyms.h>
#include <stdio.h>
diff --git a/types.h b/types.h
@@ -22,8 +22,8 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef TYPES_H
-#define TYPES_H
+#ifndef SXHKD_TYPES_H
+#define SXHKD_TYPES_H
#include <xcb/xcb_keysyms.h>
#include <stdbool.h>