summaryrefslogtreecommitdiff
path: root/sys/src/cmd/dossrv/fns.h
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2020-03-07 20:27:20 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2020-03-07 20:27:20 +0100
commitfeb6d6f0a32e5dac88d1ef46bbc4396ec44ce40b (patch)
tree2321d2b0f5dddccfe332f8fa4816fd4075c2d1bd /sys/src/cmd/dossrv/fns.h
parent225c359beab9e2f17c66e65647b9e0a94f942620 (diff)
dossrv, 9660srv, hjfs: stop *READING* standard *OUTPUT* with -s flag
with the -s flag, we should read 9P messages from standard *INPUT* (fd 0) and write responses to standard *OUTPUT* (fd 1). before these servers where reading from fd 1, assuming they where both the same files.
Diffstat (limited to 'sys/src/cmd/dossrv/fns.h')
-rw-r--r--sys/src/cmd/dossrv/fns.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/dossrv/fns.h b/sys/src/cmd/dossrv/fns.h
index 42a76f06f..092149e2e 100644
--- a/sys/src/cmd/dossrv/fns.h
+++ b/sys/src/cmd/dossrv/fns.h
@@ -26,7 +26,7 @@ char *getnamesect(char*, char*, uchar*, int*, int*, int);
long getstart(Xfs *xf, Dosdir *d);
Xfs *getxfs(char*, char*);
long gtime(Dosdir *d);
-void io(int srvfd);
+void io(void);
int iscontig(Xfs *xf, Dosdir *d);
int isroot(vlong addr);
int makecontig(Xfile*, int);