summaryrefslogtreecommitdiffstats
path: root/libdwfl/image-header.c
diff options
context:
space:
mode:
authorRoland McGrath <[email protected]>2011-07-09 03:17:24 -0700
committerRoland McGrath <[email protected]>2011-07-09 03:17:24 -0700
commit32899ac4f69d4ca4856d5282464c1f9cee928c8a (patch)
tree2b45a22f79f4f3464150d5eba73a89ecab0cee22 /libdwfl/image-header.c
parent02a958bc2662c1c9c2d6b663742b9c8e720e25b2 (diff)
Clean up byte order handling in md5 and sha1 code.
Diffstat (limited to 'libdwfl/image-header.c')
-rw-r--r--libdwfl/image-header.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libdwfl/image-header.c b/libdwfl/image-header.c
index 6341fc8c..c36d10c1 100644
--- a/libdwfl/image-header.c
+++ b/libdwfl/image-header.c
@@ -1,5 +1,5 @@
/* Linux kernel image support for libdwfl.
- Copyright (C) 2009 Red Hat, Inc.
+ Copyright (C) 2009-2011 Red Hat, Inc.
This file is part of Red Hat elfutils.
Red Hat elfutils is free software; you can redistribute it and/or modify
@@ -55,10 +55,8 @@
#if BYTE_ORDER == LITTLE_ENDIAN
# define LE16(x) (x)
-# define LE32(x) (x)
#else
# define LE16(x) bswap_16 (x)
-# define LE32(x) bswap_32 (x)
#endif
/* See Documentation/x86/boot.txt in Linux kernel sources