summaryrefslogtreecommitdiff
path: root/biosdecode.c
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2004-04-22 19:08:09 +0000
committerJean Delvare <jdelvare@suse.de>2004-04-22 19:08:09 +0000
commit5357b1f8784f3529fa4e76e9804b9c6492c9d293 (patch)
tree55bb56324a4b311cf7393d87ea2089d231082d60 /biosdecode.c
parent73087cb4c8492a1bed7dd2cc411a4b99aed52358 (diff)
downloaddmidecode-git-5357b1f8784f3529fa4e76e9804b9c6492c9d293.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;