diff options
| author | fig02 <fig02srl@gmail.com> | 2025-04-19 22:04:08 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-19 22:04:08 -0400 |
| commit | 2278bcb2c3383553d136216a7fc1600cd86485f3 (patch) | |
| tree | 5aaf0522d10f2c0f0ec43653bb136ba603099b7a /src/libc64 | |
| parent | 655ec771387927eda89d89b5bc2751192b075909 (diff) | |
Remove Variables.h; Decouple z64.h from global.h (#2507)
* progress
* z64.h issues sorted
* remove variables.h
* format
* n64 fix
* another fix
* did the wrong fix
* fix libleo
* fix bss
* review
* remove instead of comment
Diffstat (limited to 'src/libc64')
| -rw-r--r-- | src/libc64/__osMalloc_gc.c | 6 | ||||
| -rw-r--r-- | src/libc64/__osMalloc_n64.c | 7 | ||||
| -rw-r--r-- | src/libc64/sleep.c | 2 |
3 files changed, 10 insertions, 5 deletions
diff --git a/src/libc64/__osMalloc_gc.c b/src/libc64/__osMalloc_gc.c index 025c21bff..aa62d6b2c 100644 --- a/src/libc64/__osMalloc_gc.c +++ b/src/libc64/__osMalloc_gc.c @@ -1,8 +1,10 @@ -#include "global.h" -#include "fault.h" #include "libc64/os_malloc.h" +#include "alignment.h" +#include "fault.h" #include "terminal.h" +#include "global.h" + #define FILL_ALLOC_BLOCK_FLAG (1 << 0) #define FILL_FREE_BLOCK_FLAG (1 << 1) #define CHECK_FREE_BLOCK_FLAG (1 << 2) diff --git a/src/libc64/__osMalloc_n64.c b/src/libc64/__osMalloc_n64.c index 56996feac..13c2e958b 100644 --- a/src/libc64/__osMalloc_n64.c +++ b/src/libc64/__osMalloc_n64.c @@ -1,7 +1,10 @@ -#include "global.h" -#include "fault.h" #include "libc64/os_malloc.h" +#include "alignment.h" +#include "fault.h" + +#include "global.h" + #define NODE_MAGIC 0x7373 #define NODE_IS_VALID(node) ((node)->magic == NODE_MAGIC) diff --git a/src/libc64/sleep.c b/src/libc64/sleep.c index 2b67088a1..17fd3b1e2 100644 --- a/src/libc64/sleep.c +++ b/src/libc64/sleep.c @@ -1,4 +1,4 @@ -#include "global.h" +#include "ultra64.h" void Sleep_Cycles(OSTime cycles) { OSMesgQueue mq; |
