From e148f38dc937c34b222ba8df8612b3fa2b6bc349 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sun, 29 May 2022 11:23:29 +0300 Subject: modify formatting rules --- include/apos/elf.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/apos/elf.h') diff --git a/include/apos/elf.h b/include/apos/elf.h index 1e9a4aa..e6936a3 100644 --- a/include/apos/elf.h +++ b/include/apos/elf.h @@ -187,11 +187,11 @@ struct __packed section64_header { #define section64_header(s) ((struct section64_header *)s) #define section32_header(s) ((struct section32_header *)s) -#define elf_header_prop(c, e, p) \ +#define elf_header_prop(c, e, p) \ (c == ELFCLASS64 ? elf64_header(e)->p : elf32_header(e)->p) -#define program_header_prop(c, e, p) \ +#define program_header_prop(c, e, p) \ (c == ELFCLASS64 ? program64_header(e)->p : program32_header(e)->p) -#define section_header_prop(c, e, p) \ +#define section_header_prop(c, e, p) \ (c == ELFCLASS64 ? section64_header(e)->p : section32_header(e)->p) vm_t load_elf(struct tcb *t, vm_t binary, vm_t interp); -- cgit v1.3