Skip to contentSkip to conversation

libelf: Fix typo in header guard macro

PATCH In review Patrick Welche 3 participants 3 messages Aug 8, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libelf: Fix typo in header guard macro

s/__LIBELF_PRIVATE_H_/__LIBELF_PRIVATE_H__/

---
 xen/common/libelf/libelf-private.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
xen/common/libelf/libelf-private.h +2 -2
index ea7e197..f4b79c7 100644
@@ -14,7 +14,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 #ifndef __LIBELF_PRIVATE_H__
-#define __LIBELF_PRIVATE_H_
+#define __LIBELF_PRIVATE_H__
 
 #ifdef __XEN__
 
@@ -99,7 +99,7 @@ do { strncpy((d),(s),sizeof((d))-1);            \
    * of memcpy, memset, memmove and strcpy.  Every call site
    * must either use elf_mem*_unchecked, or elf_mem*_safe. */
 
-#endif /* __LIBELF_PRIVATE_H_ */
+#endif /* __LIBELF_PRIVATE_H__ */
 
 /*
  * Local variables:
Signature · 1 line
1.8.3.3
Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines · Patrick Welche

s/__LIBELF_PRIVATE_H_/__LIBELF_PRIVATE_H__/

Quoted 26 lines
---
 xen/common/libelf/libelf-private.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
xen/common/libelf/libelf-private.h +2 -2
index ea7e197..f4b79c7 100644
@@ -14,7 +14,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 #ifndef __LIBELF_PRIVATE_H__
-#define __LIBELF_PRIVATE_H_
+#define __LIBELF_PRIVATE_H__
 
 #ifdef __XEN__
 
@@ -99,7 +99,7 @@ do { strncpy((d),(s),sizeof((d))-1);            \
    * of memcpy, memset, memmove and strcpy.  Every call site
    * must either use elf_mem*_unchecked, or elf_mem*_safe. */
 
-#endif /* __LIBELF_PRIVATE_H_ */
+#endif /* __LIBELF_PRIVATE_H__ */
 
 /*
  * Local variables:
#2 lore raw
Quoted 6 lines · Andrew Cooper
Quoted 3 lines · Patrick Welche

s/__LIBELF_PRIVATE_H_/__LIBELF_PRIVATE_H__/

+ ack + apply. Thanks.

Quoted 33 lines
Quoted 19 lines
---
 xen/common/libelf/libelf-private.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
xen/common/libelf/libelf-private.h +1 -1
index ea7e197..f4b79c7 100644
@@ -14,7 +14,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 #ifndef __LIBELF_PRIVATE_H__
-#define __LIBELF_PRIVATE_H_
+#define __LIBELF_PRIVATE_H__
 
 #ifdef __XEN__
 

xen/common/libelf/libelf-private.h do { strncpy((d),(s),sizeof((d))-1); \ · line 105

Quoted 8 lines
xen/common/libelf/libelf-private.h +1 -1
@@ -99,7 +99,7 @@ do { strncpy((d),(s),sizeof((d))-1);            \
    * of memcpy, memset, memmove and strcpy.  Every call site
    * must either use elf_mem*_unchecked, or elf_mem*_safe. */
 
-#endif /* __LIBELF_PRIVATE_H_ */
+#endif /* __LIBELF_PRIVATE_H__ */
 
 /*
  * Local variables:

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