diff options
author | Bardur Arantsson <bardur@scientician.net> | 2013-03-25 10:13:47 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2013-09-27 14:46:41 +0200 |
commit | d1bc64bd22673bc72bafd7e200cbbea6eacb06c1 (patch) | |
tree | 3143ac8a0402972dd382d6ec980290e40656cd31 /src | |
parent | 7482630bbf8dec872743d42d627fe51b90d1d5fc (diff) |
Use #pragma once instead of include guards
Diffstat (limited to 'src')
-rw-r--r-- | src/spell_type.h | 5 | ||||
-rw-r--r-- | src/spell_type_fwd.h | 5 |
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 |