diff options
-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"; |