diff options
author | Wojtek Kosior <kwojtus@protonmail.com> | 2019-11-19 17:55:43 +0100 |
---|---|---|
committer | Wojtek Kosior <kwojtus@protonmail.com> | 2019-11-19 17:55:43 +0100 |
commit | c1f247d0f23173c77a350324ddf0495ffb935860 (patch) | |
tree | 4074c12ff53bfe72620b8c5e5288440bf03b1ab5 /cp_regs.h | |
parent | 39145f6d1b8c57abe2bc0167b2b413970d0dfdb6 (diff) | |
download | rpi-MMU-example-c1f247d0f23173c77a350324ddf0495ffb935860.tar.gz rpi-MMU-example-c1f247d0f23173c77a350324ddf0495ffb935860.zip |
guard against multiple-inclusion of headers
Diffstat (limited to 'cp_regs.h')
-rw-r--r-- | cp_regs.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,7 @@ -#include <stdint.h> +#ifndef CP_REGS_H +#define CP_REGS_H +#include <stdint.h> // SCTLR - System Control Register @@ -109,3 +111,4 @@ typedef union } fields; } TTBR_t; +#endif // CP_REGS_H |