lib/accessor.h
changeset 396 155560bfe837
parent 395 25f3b479a8ce
child 400 093b72cd2ac3
--- a/lib/accessor.h	Fri Dec 23 15:17:45 2011 +0100
+++ b/lib/accessor.h	Fri Dec 30 18:25:39 2011 +0100
@@ -32,6 +32,8 @@
 	type* __GET_GLOBAL_##name(void) {\
 		return (*GLOBAL__##name).value;\
 	}
+#define __DECLARE_GLOBAL_PROTOTYPE(type, name)\
+    extern type* __GET_GLOBAL_##name();
 #define __DECLARE_EXTERNAL(type, name)\
 	__IEC_##type##_p name;
 #define __DECLARE_LOCATED(type, name)\