summaryrefslogtreecommitdiff
path: root/qstd/memory.c
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2024-12-29 18:24:28 +1100
committerquou <quou@disroot.org>2024-12-29 18:24:28 +1100
commit82c55e96d573b5d58e53b21ca3c91c50a67ed40b (patch)
tree513c3afea854fe11f9d00ed10e58de02e76ba117 /qstd/memory.c
parent26d353966a72c8de343dcdc9ce94b7fe5d82f003 (diff)
expose align_address
Diffstat (limited to 'qstd/memory.c')
-rw-r--r--qstd/memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qstd/memory.c b/qstd/memory.c
index b12ec75..61c5911 100644
--- a/qstd/memory.c
+++ b/qstd/memory.c
@@ -17,7 +17,7 @@ void zero(void* buf, int size) {
((uint8_t*)buf)[i] = 0;
}
-static uintptr_t align_address(
+uintptr_t align_address(
uintptr_t ad,
size_t al
) {