aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2022-10-22 20:05:59 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2022-11-01 00:44:40 +0000
commitb58ef09e27668746d1007efbc3750291f152fe88 (patch)
treebc0900dee41914a3043fbc638dba693438ba405f
parent7542ee89d81fadfb21e66d5feb0345f525f24311 (diff)
x86/include/elf.h: make inclusion blocks for elf32.h and elf64.h similar
(cherry picked from commit 829145388badfa70796b97bed1d92be254966766)
-rw-r--r--sys/x86/include/elf.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/x86/include/elf.h b/sys/x86/include/elf.h
index e8744858e4b7..7b2825579e65 100644
--- a/sys/x86/include/elf.h
+++ b/sys/x86/include/elf.h
@@ -32,14 +32,11 @@
#define _MACHINE_ELF_H_ 1
#if defined(__i386__) || defined(_MACHINE_ELF_WANT_32BIT)
-
-/*
- * ELF definitions for the i386 architecture.
- */
-
+/* ELF definitions for the i386 architecture. */
#include <sys/elf32.h> /* Definitions common to all 32 bit architectures. */
#if defined(__ELF_WORD_SIZE) && __ELF_WORD_SIZE == 64
-#include <sys/elf64.h> /* Definitions common to all 64 bit architectures. */
+/* Definitions common to all 64 bit architectures. */
+#include <sys/elf64.h>
#endif
#ifndef __ELF_WORD_SIZE