shithub: riscv

Download patch

ref: 5796736b708701ad7f7275d3603fbe24faa63a2c
parent: 8cc04381d1a5fc33c2e772283c200bd22fa55e99
author: cinap_lenrek <cinap_lenrek@gmx.de>
date: Wed Apr 10 16:51:39 EDT 2013

9nfs: apply patch/nfswarnandflags (from sources, thanks nemo)

Remove a warning in 9nfs and make it use the std. CFLAGS
(we detected the warning using -W).

--- a/sys/src/cmd/9nfs/fns.h
+++ b/sys/src/cmd/9nfs/fns.h
@@ -39,7 +39,7 @@
 void	srvinit(int, char*, char*);
 char*	strfind(char*);
 int	string2S(void*, String*);
-int	strparse(void*, int, char**);
+int	strparse(char*, int, char**);
 void	strprint(int);
 char*	strstore(char*);
 Waitmsg	*system(char*, char**);
--- a/sys/src/cmd/9nfs/mkfile
+++ b/sys/src/cmd/9nfs/mkfile
@@ -1,5 +1,4 @@
 </$objtype/mkfile
-CFLAGS=-FVw
 
 TARG=nfsserver\
 	portmapper\
--