summaryrefslogtreecommitdiff
path: root/src/code/gamealloc.c
diff options
context:
space:
mode:
authorAnghelo Carvajal <angheloalf95@gmail.com>2023-11-22 23:55:05 -0300
committerGitHub <noreply@github.com>2023-11-23 13:55:05 +1100
commit506e2155474b1914fe93f070c55debdeaf6df0a6 (patch)
tree5ffab32ee39bb1cafc8803caafd1030ff72f93ef /src/code/gamealloc.c
parent5ef277df2db5dd54c02c098ec88777f63680f6c3 (diff)
Yet another header cleanup (#1508)
* lights.c * z64skin_matrix.h * Move out some stuff from macros.h * gamealloc.h * move most transition functions to z64transition.h * z64lib.h * `include` cleanup on transition files * z_overlay cleanup * z64malloc.h * format * forgot to remove those * forgot this * fix borken includes
Diffstat (limited to 'src/code/gamealloc.c')
-rw-r--r--src/code/gamealloc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/code/gamealloc.c b/src/code/gamealloc.c
index 6067ad91c..a0d6f741f 100644
--- a/src/code/gamealloc.c
+++ b/src/code/gamealloc.c
@@ -1,10 +1,10 @@
-#include "global.h"
+#include "gamealloc.h"
+
#include "system_malloc.h"
void GameAlloc_Log(GameAlloc* this) {
- GameAllocEntry* iter;
+ GameAllocEntry* iter = this->base.next;
- iter = this->base.next;
while (iter != &this->base) {
iter = iter->next;
}