diff options
author | rsc <devnull@localhost> | 2005-01-04 21:18:08 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-01-04 21:18:08 +0000 |
commit | 1a0954abb80f92cd9940a21f11dd8f3a84518579 (patch) | |
tree | 44f2c6af204a0143f6d062b256008b372456f1d0 /include/u.h | |
parent | 66ed321edf44a9465d011a3e54d60a6c32fc166f (diff) | |
download | plan9port-1a0954abb80f92cd9940a21f11dd8f3a84518579.tar.gz plan9port-1a0954abb80f92cd9940a21f11dd8f3a84518579.tar.bz2 plan9port-1a0954abb80f92cd9940a21f11dd8f3a84518579.zip |
autolib
Diffstat (limited to 'include/u.h')
-rw-r--r-- | include/u.h | 5 |
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 |