diff options
Diffstat (limited to 'include/platform.h')
-rw-r--r-- | include/platform.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/platform.h b/include/platform.h index 413c2224c..09c7ccd9c 100644 --- a/include/platform.h +++ b/include/platform.h | |||
@@ -76,8 +76,8 @@ | |||
76 | # define UNUSED_PARAM_RESULT | 76 | # define UNUSED_PARAM_RESULT |
77 | #endif | 77 | #endif |
78 | 78 | ||
79 | /* used by unit test machinery to run registration functions */ | 79 | /* used by unit test machinery to run registration functions before calling main() */ |
80 | #define INIT_LAST __attribute__ ((constructor(2000))) | 80 | #define INIT_FUNC __attribute__ ((constructor)) |
81 | 81 | ||
82 | /* -fwhole-program makes all symbols local. The attribute externally_visible | 82 | /* -fwhole-program makes all symbols local. The attribute externally_visible |
83 | * forces a symbol global. */ | 83 | * forces a symbol global. */ |