diff options
Diffstat (limited to 'arm9/lib/include')
-rw-r--r-- | arm9/lib/include/FS_overlay.h | 2 | ||||
-rw-r--r-- | arm9/lib/include/OS_alloc.h | 5 | ||||
-rw-r--r-- | arm9/lib/include/nitro.h | 2 |
3 files changed, 6 insertions, 3 deletions
diff --git a/arm9/lib/include/FS_overlay.h b/arm9/lib/include/FS_overlay.h index 203f555f..7853e4ae 100644 --- a/arm9/lib/include/FS_overlay.h +++ b/arm9/lib/include/FS_overlay.h @@ -67,7 +67,7 @@ BOOL FS_LoadOverlay(MIProcessor target, FSOverlayID id); BOOL FS_UnloadOverlay(MIProcessor target, FSOverlayID id); #if defined(__cplusplus) -}; +} #endif #endif //NITRO_FS_OVERLAY_H_ diff --git a/arm9/lib/include/OS_alloc.h b/arm9/lib/include/OS_alloc.h index 08fb3224..74b7b0e5 100644 --- a/arm9/lib/include/OS_alloc.h +++ b/arm9/lib/include/OS_alloc.h @@ -32,7 +32,10 @@ typedef struct { HeapDesc* heapArray; } OSHeapInfo; -void OS_FreeToHeap(OSArenaId id, OSHeapHandle heap, void *ptr); +Cell* DLAddFront(Cell* list, Cell* cell); +Cell* DLExtract(Cell* list, Cell* cell); +Cell *DLInsert(Cell *original, Cell *inserted); void* OS_AllocFromHeap(OSArenaId id, OSHeapHandle heap, u32 size); +void OS_FreeToHeap(OSArenaId id, OSHeapHandle heap, void *ptr); #endif //POKEDIAMOND_OS_ALLOC_H diff --git a/arm9/lib/include/nitro.h b/arm9/lib/include/nitro.h index f7397fb0..deace7ef 100644 --- a/arm9/lib/include/nitro.h +++ b/arm9/lib/include/nitro.h @@ -12,7 +12,7 @@ extern "C" { #include "mmap.h" #ifdef __cplusplus -}; +} #endif #endif //POKEDIAMOND_NITRO_H |