summaryrefslogtreecommitdiff
path: root/include/memory
diff options
context:
space:
mode:
authortrimill <trimill@trimillxyz.org>2024-01-31 22:30:35 -0500
committertrimill <trimill@trimillxyz.org>2024-02-01 17:01:20 -0500
commitb5b904cfc9bf22ce9f6c3cfcf110e4559ef0994a (patch)
tree2b352192a63e75fa921ac82ef370adb7da49434d /include/memory
parentdisplay mem formatted (diff)
downloadcorn-b5b904cfc9bf22ce9f6c3cfcf110e4559ef0994a.tar.gz
corn-b5b904cfc9bf22ce9f6c3cfcf110e4559ef0994a.tar.bz2
corn-b5b904cfc9bf22ce9f6c3cfcf110e4559ef0994a.zip
follow the corn style guide
Diffstat (limited to 'include/memory')
-rw-r--r--include/memory/physalloc.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/memory/physalloc.h b/include/memory/physalloc.h
index f22432e..e95e418 100644
--- a/include/memory/physalloc.h
+++ b/include/memory/physalloc.h
@@ -8,23 +8,23 @@
* Allocates a single physical page in memory
* @preturns the physical address of the page
*/
-extern void *alloc_phys_page(void);
+void *alloc_phys_page(void);
/**
* Allocates count physical pages in memory
* @returns the physical address of the first page
*/
-extern void *alloc_phys_pages(int count);
+void *alloc_phys_pages(int count);
/**
* Frees a single physical page in memory
* @param ptr - the physical address of the page
*/
-extern void free_phys_page(void *ptr);
+void free_phys_page(void *ptr);
/**
* Frees count physical pages in memory
* @param ptr - the physical address of the first page
* @param count - the number of pages in the list
*/
-extern void free_phys_pages(void *ptr, int count);
+void free_phys_pages(void *ptr, int count);