summaryrefslogtreecommitdiff
path: root/m68k-unknown-amigaos/recipes/patches/ndk/ndk.inline.intuition.h.p
blob: ee37d5734b4433131167d5c6a8616c903592370e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- sys-include/inline/intuition.h	2010-12-23 22:23:29.000000000 +0000
+++ sys-include/inline/intuition.h	2010-12-23 22:18:23.000000000 +0000
@@ -449,11 +449,12 @@
 	, 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);
 }
 
 #endif
 
 #define DisposeObject(object) \