diff options
author | rsc <devnull@localhost> | 2005-03-04 14:47:18 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-03-04 14:47:18 +0000 |
commit | 8ba3811378e9e10d0fc363e152ef7ea40a658463 (patch) | |
tree | 6f0b4924f66a6239a775da8deefb0ee4d42b242a | |
parent | c31f81ac8b402e72acf552eb9b0740a700000e8b (diff) | |
download | plan9port-8ba3811378e9e10d0fc363e152ef7ea40a658463.tar.gz plan9port-8ba3811378e9e10d0fc363e152ef7ea40a658463.tar.bz2 plan9port-8ba3811378e9e10d0fc363e152ef7ea40a658463.zip |
make chatty9p an extern int for the mac.
-rw-r--r-- | include/9p.h | 2 | ||||
-rw-r--r-- | src/lib9p/srv.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/9p.h b/include/9p.h index 00d2fe07..f83dce00 100644 --- 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 index 2a300bbe..a54a176c 100644 --- 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"; |