From 8ba3811378e9e10d0fc363e152ef7ea40a658463 Mon Sep 17 00:00:00 2001 From: rsc Date: Fri, 4 Mar 2005 14:47:18 +0000 Subject: make chatty9p an extern int for the mac. --- include/9p.h | 2 +- src/lib9p/srv.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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 #include <9p.h> +int chatty9p; + // static char Ebadattach[] = "unknown specifier in attach"; static char Ebadoffset[] = "bad offset"; // static char Ebadcount[] = "bad count"; -- cgit v1.2.3