From b4e8c4b6d621e64e4fb418a631af94f163fcf890 Mon Sep 17 00:00:00 2001 From: rsc Date: Tue, 4 Jan 2005 22:21:23 +0000 Subject: use 9pclient --- src/libplumb/fid.c | 12 ++++++------ src/libplumb/mesg.c | 1 - 2 files changed, 6 insertions(+), 7 deletions(-) (limited to 'src/libplumb') diff --git a/src/libplumb/fid.c b/src/libplumb/fid.c index 86093c05..f19b76ed 100644 --- a/src/libplumb/fid.c +++ b/src/libplumb/fid.c @@ -1,12 +1,12 @@ #include #include #include -#include +#include <9pclient.h> #include "plumb.h" -static Fsys *fsplumb; +static CFsys *fsplumb; static int pfd = -1; -static Fid *pfid; +static CFid *pfid; int plumbopen(char *name, int omode) @@ -46,7 +46,7 @@ plumbopen(char *name, int omode) return fsopenfd(fsplumb, name, omode); } -Fid* +CFid* plumbopenfid(char *name, int mode) { if(fsplumb == nil) @@ -57,7 +57,7 @@ plumbopenfid(char *name, int mode) } int -plumbsendtofid(Fid *fid, Plumbmsg *m) +plumbsendtofid(CFid *fid, Plumbmsg *m) { char *buf; int n; @@ -116,7 +116,7 @@ plumbrecv(int fd) } Plumbmsg* -plumbrecvfid(Fid *fid) +plumbrecvfid(CFid *fid) { char *buf; Plumbmsg *m; diff --git a/src/libplumb/mesg.c b/src/libplumb/mesg.c index 76556293..c9379307 100755 --- a/src/libplumb/mesg.c +++ b/src/libplumb/mesg.c @@ -1,7 +1,6 @@ #include #include #include -#include #include "plumb.h" static char attrbuf[4096]; -- cgit v1.2.3