diff options
author | Ron Yorston <rmy@pobox.com> | 2014-06-30 21:13:06 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2014-06-30 21:13:06 +0100 |
commit | 099e8b6438345baae560a629d548af07a8c3125c (patch) | |
tree | 71b5600b22b0019af675e4a991394ce32c8207c5 /include/platform.h | |
parent | e19594cc6e49e78fa50a654f15cf9a04e77d054a (diff) | |
parent | 184b2669175e562d58894e22f6320cebf3316c25 (diff) | |
download | busybox-w32-099e8b6438345baae560a629d548af07a8c3125c.tar.gz busybox-w32-099e8b6438345baae560a629d548af07a8c3125c.tar.bz2 busybox-w32-099e8b6438345baae560a629d548af07a8c3125c.zip |
Merge branch 'busybox' into merge
Diffstat (limited to 'include/platform.h')
-rw-r--r-- | include/platform.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/platform.h b/include/platform.h index 884c6e95f..d9b82b2ed 100644 --- a/include/platform.h +++ b/include/platform.h | |||
@@ -85,6 +85,9 @@ | |||
85 | # define UNUSED_PARAM_RESULT | 85 | # define UNUSED_PARAM_RESULT |
86 | #endif | 86 | #endif |
87 | 87 | ||
88 | /* used by unit test machinery to run registration functions before calling main() */ | ||
89 | #define INIT_FUNC __attribute__ ((constructor)) | ||
90 | |||
88 | /* -fwhole-program makes all symbols local. The attribute externally_visible | 91 | /* -fwhole-program makes all symbols local. The attribute externally_visible |
89 | * forces a symbol global. */ | 92 | * forces a symbol global. */ |
90 | #if __GNUC_PREREQ(4,1) | 93 | #if __GNUC_PREREQ(4,1) |