Skip to contentSkip to conversation

libfsimage: fix bad header guard

PATCH In review Doug Goldstein 2 participants 2 messages Apr 25, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libfsimage: fix bad header guard

The #ifndef / #define value used was not consistent so it did not function as a proper header guard.

---
 tools/libfsimage/ufs/ufs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/libfsimage/ufs/ufs.h +1 -1
index 4e7c736..62135f3 100644
@@ -4,7 +4,7 @@
  */
 
 #ifndef _GRUB_UFS_H
-#define _GRUB_UFS_H_
+#define _GRUB_UFS_H
 
 /* ufs specific constants */
 #define UFS_SBLOCK	16
Signature · 7 lines
2.7.3


_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Doug Goldstein

The #ifndef / #define value used was not consistent so it did not function as a proper header guard.

And queued. Thanks for fixing this.

Quoted 25 lines
---
 tools/libfsimage/ufs/ufs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/libfsimage/ufs/ufs.h +1 -1
index 4e7c736..62135f3 100644
@@ -4,7 +4,7 @@
  */
 
 #ifndef _GRUB_UFS_H
-#define _GRUB_UFS_H_
+#define _GRUB_UFS_H
 
 /* ufs specific constants */
 #define UFS_SBLOCK	16
Signature · 7 lines
2.7.3


_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel