Browse Source

[lwp/aarch64] Fix macro definition style in reloc.c

Split the merged #define macros on line 13 into separate lines to comply with coding standards and avoid potential preprocessor issues.
huangshuhua 4 days ago
parent
commit
4617729c4c
1 changed files with 2 additions and 1 deletions
  1. 2 1
      components/lwp/arch/aarch64/common/reloc.c

+ 2 - 1
components/lwp/arch/aarch64/common/reloc.c

@@ -10,7 +10,8 @@
 #define Elf_Word Elf64_Word
 #define Elf_Addr Elf64_Addr
 #define Elf_Half Elf64_Half
-#define Elf_Ehdr Elf64_Ehdr                                                   #define Elf_Phdr Elf64_Phdr
+#define Elf_Ehdr Elf64_Ehdr
+#define Elf_Phdr Elf64_Phdr
 #define Elf_Shdr Elf64_Shdr
 
 typedef struct