From d78f399542b0b81fab67f31c9a88665943f0571d Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Mon, 16 Mar 2009 16:33:01 +0000 Subject: Delete some unused macros detected with -Wp,-Wunused-macros use git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6856 c046a42c-6fe2-441c-8c8c-71466251a162 --- loader.c | 1 - 1 file changed, 1 deletion(-) (limited to 'loader.c') diff --git a/loader.c b/loader.c index 55625cf5b0..5232ee12a7 100644 --- a/loader.c +++ b/loader.c @@ -199,7 +199,6 @@ static void bswap_ahdr(struct exec *e) (N_MAGIC(x) == ZMAGIC ? _N_HDROFF((x)) + sizeof (struct exec) : \ (N_MAGIC(x) == QMAGIC ? 0 : sizeof (struct exec))) #define N_TXTADDR(x) (N_MAGIC(x) == QMAGIC ? TARGET_PAGE_SIZE : 0) -#define N_DATOFF(x) (N_TXTOFF(x) + (x).a_text) #define _N_SEGMENT_ROUND(x) (((x) + TARGET_PAGE_SIZE - 1) & ~(TARGET_PAGE_SIZE - 1)) #define _N_TXTENDADDR(x) (N_TXTADDR(x)+(x).a_text) -- cgit v1.2.3