git: b58ef09e2766 - stable/13 - x86/include/elf.h: make inclusion blocks for elf32.h and elf64.h similar
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 01 Nov 2022 00:46:23 UTC
The branch stable/13 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=b58ef09e27668746d1007efbc3750291f152fe88
commit b58ef09e27668746d1007efbc3750291f152fe88
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2022-10-22 20:05:59 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2022-11-01 00:44:40 +0000
x86/include/elf.h: make inclusion blocks for elf32.h and elf64.h similar
(cherry picked from commit 829145388badfa70796b97bed1d92be254966766)
---
sys/x86/include/elf.h | 9 +++------
1 file 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