tmake chatty9p an extern int for the mac. - plan9port - [fork] Plan 9 from user space (HTM) git clone git://src.adamsgaard.dk/plan9port (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit 8ba3811378e9e10d0fc363e152ef7ea40a658463 (DIR) parent c31f81ac8b402e72acf552eb9b0740a700000e8b (HTM) Author: rsc <devnull@localhost> Date: Fri, 4 Mar 2005 14:47:18 +0000 make chatty9p an extern int for the mac. Diffstat: M include/9p.h | 2 +- M src/lib9p/srv.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) --- (DIR) diff --git a/include/9p.h b/include/9p.h t@@ -219,7 +219,7 @@ struct Srv { void srv(Srv*); void postmountsrv(Srv*, char*, char*, int); int postfd(char*, int); -int chatty9p; +extern int chatty9p; void respond(Req*, char*); void threadpostmountsrv(Srv*, char*, char*, int); (DIR) diff --git a/src/lib9p/srv.c b/src/lib9p/srv.c t@@ -5,6 +5,8 @@ #include <thread.h> #include <9p.h> +int chatty9p; + // static char Ebadattach[] = "unknown specifier in attach"; static char Ebadoffset[] = "bad offset"; // static char Ebadcount[] = "bad count";