summaryrefslogtreecommitdiff
path: root/m68k-unknown-amigaos/recipes/patches/ndk/ndk.inline.intuition.h.p
blob: 0757ef2d7590cdbedeb45b5e5ca31e19e893d1f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- sys-include/inline/intuition.h.orig	2006-05-10 18:29:23.000000000 +0100
+++ sys-include/inline/intuition.h	2010-12-30 01:24:28.000000000 +0000
@@ -449,8 +449,10 @@
 	, INTUITION_BASE_NAME)
 
 #ifndef NO_INLINE_STDARG
-__inline APTR NewObject(struct IClass * classPtr, CONST_STRPTR classID, ULONG tagList, ...)
+static __inline APTR NewObject(struct IClass * classPtr, CONST_STRPTR classID, ULONG tagList, ...)
 {
+  extern struct IntuitionBase *INTUITION_BASE_NAME;
+
   return NewObjectA(classPtr, classID, (const struct TagItem *) &tagList);
 }