| commit | 1a0954abb80f92cd9940a21f11dd8f3a84518579 | [log] [tgz] |
|---|---|---|
| author | rsc <devnull@localhost> | Tue Jan 04 21:18:08 2005 +0000 |
| committer | rsc <devnull@localhost> | Tue Jan 04 21:18:08 2005 +0000 |
| tree | 44f2c6af204a0143f6d062b256008b372456f1d0 | |
| parent | 66ed321edf44a9465d011a3e54d60a6c32fc166f [diff] [blame] |
autolib
diff --git a/include/u.h b/include/u.h index ba93696..d062a9d 100644 --- a/include/u.h +++ b/include/u.h
@@ -111,6 +111,11 @@ #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