summaryrefslogtreecommitdiff
path: root/biosdecode.c
diff options
context:
space:
mode:
authorkhali <khali>2004-04-22 19:08:09 +0000
committerkhali <khali>2004-04-22 19:08:09 +0000
commit4d6db73b74711c3ede7f5abaa14e69d9da6acb23 (patch)
tree55bb56324a4b311cf7393d87ea2089d231082d60 /biosdecode.c
parentdb7d6139f6339ea2793965a4013ba9d821505e54 (diff)
downloaddmidecode-4d6db73b74711c3ede7f5abaa14e69d9da6acb23.tar.gz
Refactor WORD-like macros into types.h.
Diffstat (limited to 'biosdecode.c')
-rw-r--r--biosdecode.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/biosdecode.c b/biosdecode.c
index ceed04a..5b161d1 100644
--- a/biosdecode.c
+++ b/biosdecode.c
@@ -63,22 +63,6 @@
#include "types.h"
#include "util.h"
-#ifdef BIGENDIAN
-typedef struct {
- u32 h;
- u32 l;
-} u64;
-#else /* BIGENDIAN */
-typedef struct {
- u32 l;
- u32 h;
-} u64;
-#endif /* BIGENDIAN */
-
-#define WORD(x) (*(const u16 *)(x))
-#define DWORD(x) (*(const u32 *)(x))
-#define QWORD(x) (*(const u64 *)(x))
-
struct bios_entry {
const char *anchor;
off_t low_address;