aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 3f805db..39cbf88 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -5,14 +5,14 @@
* CISC 301 -- Operating Systems, Project 3
*
* Copyright (C) 2025 Douglas B. Rumbaugh <dbrumbaugh@harrisburgu.edu>
- *
+ *
* Distributed under the Modified BSD License
*
*/
#include "alloc.h"
+#include "alloc_header.h"
#include "constants.h"
#include "free_list.h"
-#include "alloc_header.h"
static void *heap_start = 0;
static void *heap_end = 0;
@@ -84,6 +84,4 @@ void release(void *ptr) {
fl_coalesce_nodes(free_list);
}
-free_nd *free_list_head() {
- return free_list;
-}
+free_nd *free_list_head() { return free_list; }