commit b4613e7039c8beef74e278beefca208e1388beb3
parent 229d393b30d9f16b5aadf29452cf998829958fcd
Author: Bastien Dejean <nihilhill@gmail.com>
Date: Tue, 8 Oct 2013 12:03:46 +0200
Use compliant header guard
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 GRAB_H
+#define 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 HELPERS_H
+#define 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 LOCALES_H
+#define 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 PARSE_H
+#define 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_H
+#define 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 TYPES_H
+#define TYPES_H
#include <xcb/xcb_keysyms.h>
#include <stdbool.h>