summaryrefslogtreecommitdiff
path: root/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'debug.h')
-rw-r--r--debug.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/debug.h b/debug.h
index 4a6891e..45fa718 100644
--- a/debug.h
+++ b/debug.h
@@ -1,6 +1,6 @@
#if DEBUG
-global_variable int32 *debugnull = NULL;
+static int32 *debugnull = NULL;
#define Assert(Expression) if(!(Expression)) {*debugnull = 21;}
enum valtype {
@@ -32,7 +32,7 @@ struct project_debug
bool32 ToggleRenders;
};
-global_variable project_debug Debug;
+static project_debug Debug;
#if ARM
#define DEBUG_CycleCountStart(ID)
@@ -42,7 +42,7 @@ global_variable project_debug Debug;
#define DEBUG_CycleCountEnd(ID) Debug.EndCycleCount[ID] += __rdtsc() - Debug.CycleCount[ID]; Debug.ExecutionAmount[ID]++;
#endif
-internal void
+static void
DebugWatchVar(char *Name, void *Address, valtype Type) {
uint32 i = Debug.WatchedProperties;
Debug.String[i] = Name;
@@ -73,7 +73,7 @@ struct project_debug
#define DEBUG_CycleCountStart(ID)
#define DEBUG_CycleCountEnd(ID)
-internal void
+static void
DebugWatchVar(char *Name, void *Address, valtype Type) {
}
#endif