aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenstore/list.h
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-12-21 13:58:51 +0000
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-12-21 13:58:51 +0000
commitf9396bbfe805c16944fec66ff0c6acdf87ba2ef2 (patch)
treec8a71a47d746009969a6d588529d28658626c9b2 /tools/xenstore/list.h
parent015f6a2832c6304c9eccdbbe09ddb71efb2144d7 (diff)
downloadxen-f9396bbfe805c16944fec66ff0c6acdf87ba2ef2.tar.gz
xen-f9396bbfe805c16944fec66ff0c6acdf87ba2ef2.tar.bz2
xen-f9396bbfe805c16944fec66ff0c6acdf87ba2ef2.zip
Improve consistency of type-attribute usage (volatile/const).
From: Christoph Egger <Christoph.Egger@amd.com> Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools/xenstore/list.h')
-rw-r--r--tools/xenstore/list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xenstore/list.h b/tools/xenstore/list.h
index eb35293d7f..9cd53413cf 100644
--- a/tools/xenstore/list.h
+++ b/tools/xenstore/list.h
@@ -12,7 +12,7 @@
#define LIST_POISON2 ((void *) 0x00200200)
#define container_of(ptr, type, member) ({ \
- const typeof( ((type *)0)->member ) *__mptr = (ptr); \
+ typeof( ((type *)0)->member ) *__mptr = (ptr); \
(type *)( (char *)__mptr - offsetof(type,member) );})
/*