removed useless extern func declaration in __INIT_EXTERNAL, producing warning during build of POUS.c
authorEdouard Tisserant
Fri, 23 Dec 2011 15:17:45 +0100
changeset 395 25f3b479a8ce
parent 394 8a04e93f9ef2
child 396 155560bfe837
removed useless extern func declaration in __INIT_EXTERNAL, producing warning during build of POUS.c
lib/accessor.h
--- a/lib/accessor.h	Fri Dec 09 10:03:37 2011 +0100
+++ b/lib/accessor.h	Fri Dec 23 15:17:45 2011 +0100
@@ -55,7 +55,6 @@
 	__INIT_RETAIN(domain##__##name, retained)
 #define __INIT_EXTERNAL(type, global, name, retained)\
     {\
-		extern type* __GET_GLOBAL_##global();\
 		name.value = __GET_GLOBAL_##global();\
 		__INIT_RETAIN(name, retained)\
     }