From 8c9f75d521f24905012a750280d7e51c545a153b Mon Sep 17 00:00:00 2001 From: Emile Clark-Boman Date: Fri, 26 Sep 2025 23:17:52 +1000 Subject: [PATCH] standardise macro names --- lib/elf/eint.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/elf/eint.h b/lib/elf/eint.h index 9c952d2..52e4be3 100644 --- a/lib/elf/eint.h +++ b/lib/elf/eint.h @@ -4,14 +4,14 @@ * REF: https://gabi.xinuos.com/elf/01-intro.html */ -#ifndef BFPG_ELF_INTEGERS_H -# define BFPG_ELF_INTEGERS_H +#ifndef BFPG_ELF_INT_H +# define BFPG_ELF_INT_H # include /* 32-Bit & 64-Bit Shared Integer Types */ -# define Elf_Addr(BITS) uint##BITS##_t -# define Elf_Off(BITS) uint##BITS##_t +# define Elf_Addr(N) uint##N##_t +# define Elf_Off(N) uint##N##_t typedef uint16_t Elf_Half; /* Unsigned medium integer */ typedef uint32_t Elf_Word; /* Unsigned integer */ typedef int32_t Elf_Sword; /* Signed integer */ @@ -36,4 +36,4 @@ typedef Elf_Sxword Elf64_Sxword; # undef Elf_Addr # undef Elf_Off -#endif /* BFPG_ELF_INTEGERS_H */ +#endif /* BFPG_ELF_INT_H */