From 1a0954abb80f92cd9940a21f11dd8f3a84518579 Mon Sep 17 00:00:00 2001 From: rsc Date: Tue, 4 Jan 2005 21:18:08 +0000 Subject: autolib --- include/u.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/u.h') 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 -- cgit v1.2.3