tPlacate older versions of gcc. - plan9port - [fork] Plan 9 from user space (HTM) git clone git://src.adamsgaard.dk/plan9port (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit 9d7a2e6e3c1ae32728214346ee014c493bddb347 (DIR) parent 09828aecad28c44bf973054736748af81aa59bb5 (HTM) Author: wkj <devnull@localhost> Date: Mon, 2 May 2005 18:08:03 +0000 Placate older versions of gcc. Diffstat: M include/u.h | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) --- (DIR) diff --git a/include/u.h b/include/u.h t@@ -137,6 +137,9 @@ typedef short s16int; # if __GNUC__ >= 3 # undef AUTOLIB # define AUTOLIB(x) int __p9l_autolib_ ## x __attribute__ ((weak)); +# else +# undef AUTOLIB +# define AUTOLIB(x) static int __p9l_autolib_ ## x __attribute__ ((unused)); # endif #endif