aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorwkj <devnull@localhost>2005-05-02 18:08:03 +0000
committerwkj <devnull@localhost>2005-05-02 18:08:03 +0000
commit9d7a2e6e3c1ae32728214346ee014c493bddb347 (patch)
tree33845d3bbe66876ba2e37fe63919e0ddcb5c4f1f /include
parent09828aecad28c44bf973054736748af81aa59bb5 (diff)
downloadplan9port-9d7a2e6e3c1ae32728214346ee014c493bddb347.tar.gz
plan9port-9d7a2e6e3c1ae32728214346ee014c493bddb347.tar.bz2
plan9port-9d7a2e6e3c1ae32728214346ee014c493bddb347.zip
Placate older versions of gcc.
Diffstat (limited to 'include')
-rw-r--r--include/u.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/u.h b/include/u.h
index ccadff00..b9f07c40 100644
--- a/include/u.h
+++ b/include/u.h
@@ -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