[LinuxBIOS] [PATCH] v3: fix SHARED macros in the non-_MAINOBJECT case

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Tue Nov 27 03:18:56 CET 2007


Fix SHARED macros in the non-_MAINOBJECT case. The patch I sent earlier
(which was committed) was unfortunately generated from the wrong tree.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>

Index: LinuxBIOSv3-fixsharedextern/include/shared.h
===================================================================
--- LinuxBIOSv3-fixsharedextern/include/shared.h	(Revision 518)
+++ LinuxBIOSv3-fixsharedextern/include/shared.h	(Arbeitskopie)
@@ -43,7 +43,7 @@
 	ret (*func)(args) attr= stage0_##func
 #else
 #define EXTERN(func, ret, attr, args...) \
-	ret *func(args) attr
+	extern ret (*func)(args) attr
 #endif
 
 #else






More information about the coreboot mailing list