Merge pull request #1444 from janisozaur/include-guards

Add missing include guards
This commit is contained in:
David Miller 2018-10-28 09:16:35 -04:00 committed by GitHub
commit 904bb19def
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,4 @@
#pragma once
#include "types.h" #include "types.h"
@ -15,4 +16,4 @@ typedef s8 INT8;
#define INLINE inline #define INLINE inline
#endif #endif
#define ARRAY_LENGTH(x) (sizeof(x)/sizeof(x[0])) #define ARRAY_LENGTH(x) (sizeof(x)/sizeof(x[0]))

View File

@ -17,6 +17,8 @@
// along with this program; if not, write to the Free Software Foundation, // along with this program; if not, write to the Free Software Foundation,
// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#pragma once
#ifdef BKPT_SUPPORT #ifdef BKPT_SUPPORT
#define CONSOLE_OUTPUT(a,b) \ #define CONSOLE_OUTPUT(a,b) \
extern void (*dbgOutput)(char *, u32);\ extern void (*dbgOutput)(char *, u32);\

View File

@ -1,3 +1,5 @@
#pragma once
#include "types.h" #include "types.h"