summaryrefslogtreecommitdiff
path: root/kernel/poll.h
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2023-11-28 20:11:05 +0100
committerAnton Kling <anton@kling.gg>2023-11-28 20:12:20 +0100
commitd07fa25e04a19ccb9aa25bb6e2156d23d213db77 (patch)
tree25f2e4a6301f3ad7c5b158e74966a394862fdf39 /kernel/poll.h
parent636858dbbd48ed9f5073793b46740302aa202f43 (diff)
Meta: Apply new clang-format rules to kernel
Diffstat (limited to 'kernel/poll.h')
-rw-r--r--kernel/poll.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/poll.h b/kernel/poll.h
index 554d2d6..19359ba 100644
--- a/kernel/poll.h
+++ b/kernel/poll.h
@@ -1,5 +1,5 @@
-#include <typedefs.h>
#include <stddef.h>
+#include <typedefs.h>
#define POLLIN (1 << 0)
#define POLLPRI (1 << 1)
@@ -7,9 +7,9 @@
#define POLLHUP (1 << 3)
struct pollfd {
- int fd;
- short events;
- short revents;
+ int fd;
+ short events;
+ short revents;
};
int poll(struct pollfd *fds, size_t nfds, int timeout);