plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 8ba3811378e9e10d0fc363e152ef7ea40a658463
parent c31f81ac8b402e72acf552eb9b0740a700000e8b
Author: rsc <devnull@localhost>
Date:   Fri,  4 Mar 2005 14:47:18 +0000

make chatty9p an extern int for the mac.

Diffstat:
Minclude/9p.h | 2+-
Msrc/lib9p/srv.c | 2++
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/include/9p.h b/include/9p.h @@ -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); diff --git a/src/lib9p/srv.c b/src/lib9p/srv.c @@ -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";