summaryrefslogtreecommitdiff
path: root/kernel/drivers/ac97.h
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2024-12-12 16:03:08 +0100
committerAnton Kling <anton@kling.gg>2024-12-12 16:03:08 +0100
commitb033314bf1901d436dc71d41d5e1f37dda47e511 (patch)
tree120bd137888a7f96904a47af7d20422608ffe225 /kernel/drivers/ac97.h
parentdcbcdbdc5bcfb86eca05fb655e3bf009d89e39e0 (diff)
formatting: Use clang-format on all projects
This commit also add braces to all `if` statements.
Diffstat (limited to 'kernel/drivers/ac97.h')
-rw-r--r--kernel/drivers/ac97.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/drivers/ac97.h b/kernel/drivers/ac97.h
index f1089e5..20ac43b 100644
--- a/kernel/drivers/ac97.h
+++ b/kernel/drivers/ac97.h
@@ -1,8 +1,8 @@
-#include <typedefs.h>
#include <stddef.h>
+#include <typedefs.h>
void ac97_init(void);
-int ac97_add_pcm(u8* buffer, size_t len);
+int ac97_add_pcm(u8 *buffer, size_t len);
int ac97_can_write(void);
void ac97_set_volume(int volume);
int ac97_get_volume(void);