Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Nov 2022 00:46:23 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: b58ef09e2766 - stable/13 - x86/include/elf.h: make inclusion blocks for elf32.h and elf64.h similar
Message-ID:  <202211010046.2A10kNVG041848@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202211010046.2A10kNVG041848>