summaryrefslogtreecommitdiff
path: root/kernel/elf.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/elf.h
parent636858dbbd48ed9f5073793b46740302aa202f43 (diff)
Meta: Apply new clang-format rules to kernel
Diffstat (limited to 'kernel/elf.h')
-rw-r--r--kernel/elf.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/kernel/elf.h b/kernel/elf.h
index 4677d3c..2ad4353 100644
--- a/kernel/elf.h
+++ b/kernel/elf.h
@@ -1,9 +1,9 @@
#ifndef ELF_H
#define ELF_H
-#include <typedefs.h>
-#include <mmu.h>
-#include <fs/vfs.h>
#include <assert.h>
+#include <fs/vfs.h>
+#include <mmu.h>
+#include <typedefs.h>
#define ET_NONE 0 // No file type
#define ET_REL 1 // Relocatable file
@@ -94,6 +94,5 @@ typedef struct {
Elf32_Word p_align;
} __attribute__((packed)) Elf32_Phdr;
-
void *load_elf_file(const char *f, u32 *ds);
#endif