# HG changeset patch # User Laurent Bessard # Date 1355916356 -3600 # Node ID e3ca0f4d47b3241087a5c0f29468348c2aa9924b # Parent 58aadb212976aa8ecd7b3cb304778b2f4f731775 Fix warning message when declaring global variables in configuration diff -r 58aadb212976 -r e3ca0f4d47b3 lib/accessor.h --- a/lib/accessor.h Tue Dec 04 00:05:22 2012 +0100 +++ b/lib/accessor.h Wed Dec 19 12:25:56 2012 +0100 @@ -40,7 +40,7 @@ return (*GLOBAL__##name).value;\ } #define __DECLARE_GLOBAL_PROTOTYPE(type, name)\ - extern type* __GET_GLOBAL_##name(); + extern type* __GET_GLOBAL_##name(void); #define __DECLARE_EXTERNAL(type, name)\ __IEC_##type##_p name; #define __DECLARE_EXTERNAL_FB(type, name)\