diff options
| author | Douglas B. Rumbaugh <doug@douglasrumbaugh.com> | 2025-11-02 17:57:53 -0500 |
|---|---|---|
| committer | Douglas B. Rumbaugh <doug@douglasrumbaugh.com> | 2025-11-02 17:57:53 -0500 |
| commit | f88198cb987ab006f3406698fec410ff1de05534 (patch) | |
| tree | 336c7a1ca34615fda653e94a6526763214a4e552 /src/alloc.c | |
| parent | 33be32d518e17c8f8971fa7c1fe09adcccd82a67 (diff) | |
| download | liballoc-f88198cb987ab006f3406698fec410ff1de05534.tar.gz | |
Ran clangtidy
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 8 |
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; } |