libelf: Fix typo in header guard macro
PATCH 1/1 libelf: Fix typo in header guard macro
s/__LIBELF_PRIVATE_H_/__LIBELF_PRIVATE_H__/
Signed-off-by Patrick Welche <[email protected]>
--- xen/common/libelf/libelf-private.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
xen/common/libelf/libelf-private.h +2 -2
@@ -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
Quoted 3 lines · Patrick Welche
s/__LIBELF_PRIVATE_H_/__LIBELF_PRIVATE_H__/
Signed-off-by Patrick Welche <[email protected]>
Reviewed-by Andrew Cooper <[email protected]>
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@@ -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:
Quoted 6 lines · Andrew Cooper
Quoted 3 lines · Patrick Welche
s/__LIBELF_PRIVATE_H_/__LIBELF_PRIVATE_H__/
Signed-off-by Patrick Welche <[email protected]>Reviewed-by Andrew Cooper <[email protected]>
+ 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@@ -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