git: 9front

Download patch

ref: 1295099737b550bd319fa55aa9b392f0d3b5c4ef
parent: f64dffe11f53145d8ad15c2bf4028b5d1b0de7f4
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\
--