summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2013-03-25 10:13:47 +0100
committerBardur Arantsson <bardur@scientician.net>2013-09-27 14:46:41 +0200
commitd1bc64bd22673bc72bafd7e200cbbea6eacb06c1 (patch)
tree3143ac8a0402972dd382d6ec980290e40656cd31 /src
parent7482630bbf8dec872743d42d627fe51b90d1d5fc (diff)
Use #pragma once instead of include guards
Diffstat (limited to 'src')
-rw-r--r--src/spell_type.h5
-rw-r--r--src/spell_type_fwd.h5
2 files changed, 2 insertions, 8 deletions
diff --git a/src/spell_type.h b/src/spell_type.h
index bc3bdbec..eef6ce44 100644
--- a/src/spell_type.h
+++ b/src/spell_type.h
@@ -1,5 +1,4 @@
-#ifndef H_e7e01ebf_e19f_439d_b88d_cad51446a7a0
-#define H_e7e01ebf_e19f_439d_b88d_cad51446a7a0
+#pragma once
#include "spell_type_fwd.h"
@@ -94,5 +93,3 @@ bool_ spell_type_dependencies_satisfied(spell_type *spell);
#ifdef __cplusplus
} // extern "C"
#endif
-
-#endif
diff --git a/src/spell_type_fwd.h b/src/spell_type_fwd.h
index 4664592c..e6c88145 100644
--- a/src/spell_type_fwd.h
+++ b/src/spell_type_fwd.h
@@ -1,5 +1,4 @@
-#ifndef H_ce003b12_cf58_444f_a927_5451f6dd8af1
-#define H_ce003b12_cf58_444f_a927_5451f6dd8af1
+#pragma once
#ifdef __cplusplus
extern "C" {
@@ -23,5 +22,3 @@ struct spell_type;
#ifdef __cplusplus
} // extern "C"
#endif
-
-#endif