[SLOF] [PATCH] Fix bad header guard in version.h

Thomas Huth thuth at redhat.com
Thu May 27 20:05:37 AEST 2021

The #define in version.h does not match the #ifndef in the line before
due to a typo in the suffix ("_F" instead of "_H"). Fix it, and while
we're at it, also remove the underscore at the beginning to avoid that
we're using an identifier here that is reserved by the C standard.

Signed-off-by: Thomas Huth <thuth at redhat.com>
 board-qemu/include/version.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/board-qemu/include/version.h b/board-qemu/include/version.h
index 036d2b5..3beb21d 100644
--- a/board-qemu/include/version.h
+++ b/board-qemu/include/version.h
@@ -10,8 +10,8 @@
  *     IBM Corporation - initial implementation
-#ifndef _SLOF_VERSION_H
-#define _SLOF_VERSION_F
 /* slof/version.S */
 extern long print_version;

More information about the SLOF mailing list