aboutsummaryrefslogtreecommitdiff
path: root/include/u.h
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-01-04 21:18:08 +0000
committerrsc <devnull@localhost>2005-01-04 21:18:08 +0000
commit1a0954abb80f92cd9940a21f11dd8f3a84518579 (patch)
tree44f2c6af204a0143f6d062b256008b372456f1d0 /include/u.h
parent66ed321edf44a9465d011a3e54d60a6c32fc166f (diff)
downloadplan9port-1a0954abb80f92cd9940a21f11dd8f3a84518579.tar.gz
plan9port-1a0954abb80f92cd9940a21f11dd8f3a84518579.tar.bz2
plan9port-1a0954abb80f92cd9940a21f11dd8f3a84518579.zip
autolib
Diffstat (limited to 'include/u.h')
-rw-r--r--include/u.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/u.h b/include/u.h
index ba936960..d062a9db 100644
--- a/include/u.h
+++ b/include/u.h
@@ -111,6 +111,11 @@ typedef short s16int;
#undef _NEEDUINT
#undef _NEEDULONG
+/*
+ * Funny-named symbols to tip off 9l to autolink.
+ */
+#define AUTOLIB(x) static int __p9l_autolib_ ## x = 1;
+
#if defined(__cplusplus)
}
#endif