summaryrefslogtreecommitdiffstats
path: root/src/c/bit/ceil.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c/bit/ceil.c')
-rw-r--r--src/c/bit/ceil.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/c/bit/ceil.c b/src/c/bit/ceil.c
new file mode 100644
index 0000000..e2b42de
--- /dev/null
+++ b/src/c/bit/ceil.c
@@ -0,0 +1,13 @@
+// Copyright 2023 Alejandro Colomar <alx@kernel.org>
+// SPDX-License-Identifier: LGPL-3.0-or-later WITH LGPL-3.0-linking-exception
+
+
+#include <c/bit/ceil.h>
+
+#include <stdint.h>
+
+
+#pragma clang assume_nonnull begin
+extern inline uint32_t c_bit_ceil_wrap_32(uint32_t x);
+extern inline uint64_t c_bit_ceil_wrap_64(uint64_t x);
+#pragma clang assume_nonnull end