summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth Barberee <seth.barberee@gmail.com>2020-09-20 19:33:21 -0500
committerSeth Barberee <seth.barberee@gmail.com>2020-09-20 19:33:21 -0500
commit977ef7d8aabe3befab5b3cc44210c7d4d8f0010d (patch)
treeb53c01acde770a18d2dbd4f7d8c976871c3afb91
parent722560add4e0caaab9f65a3c49d08ad83f2ef2b2 (diff)
fix guards
-rw-r--r--include/input.h4
-rw-r--r--include/pokemon.h6
2 files changed, 7 insertions, 3 deletions
diff --git a/include/input.h b/include/input.h
index 6c579a8..0032a37 100644
--- a/include/input.h
+++ b/include/input.h
@@ -1,3 +1,6 @@
+#ifndef GUARD_INPUT_H
+#define GUARD_INPUT_H
+
struct UnkInputStruct1
{
/* 0x0 */ u16 unk0;
@@ -55,3 +58,4 @@ void sub_80048D0(void);
void sub_80048F8(void);
void sub_8004914(void);
+#endif // GUARD_INPUT_H
diff --git a/include/pokemon.h b/include/pokemon.h
index c1da8d5..864b611 100644
--- a/include/pokemon.h
+++ b/include/pokemon.h
@@ -1,4 +1,4 @@
-#ifdef POKEMON_H
+#ifndef POKEMON_H
#define POKEMON_H
struct gPokemon
@@ -46,6 +46,6 @@ struct gPokemon
/* 0x42 */ u16 unk11;
/* 0x44 */ u16 alphaNum;
/* 0x46 */ u16 parentNum;
-}
+};
-#endif
+#endif // POKEMON_H