From d87080b721e4f8dca977af7571c5338ae7bb8db7 Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Fri, 31 Mar 2006 18:32:53 +0200 Subject: GCC-4.x fixes: clean up global data pointer initialization for all boards. --- common/exports.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'common/exports.c') diff --git a/common/exports.c b/common/exports.c index 9858217ae0..ef25338169 100644 --- a/common/exports.c +++ b/common/exports.c @@ -1,6 +1,8 @@ #include #include +DECLARE_GLOBAL_DATA_PTR; + static void dummy(void) { } @@ -12,7 +14,6 @@ unsigned long get_version(void) void jumptable_init (void) { - DECLARE_GLOBAL_DATA_PTR; int i; gd->jt = (void **) malloc (XF_MAX * sizeof (void *)); -- cgit v1.2.1