git: 9front

Download patch

ref: ee4e7bf4c085973f1248cdef730a5df7c54d5b20
parent: cedc3158a175ff0368f61a8d00178360e18cc597
author: ftrvxmtrx <ftrvxmtrx@gmail.com>
date: Fri May 3 22:53:05 EDT 2013

u9fs: fix compilation warnings

--- a/sys/src/cmd/unix/u9fs/oldfcall.c
+++ b/sys/src/cmd/unix/u9fs/oldfcall.c
@@ -1,6 +1,7 @@
 #include <plan9.h>
 #include <fcall.h>
 #include <oldfcall.h>
+#include <stdlib.h>
 
 /*
  * routines to package the old protocol in the new structures.
--- a/sys/src/cmd/unix/u9fs/safecpy.c
+++ b/sys/src/cmd/unix/u9fs/safecpy.c
@@ -1,4 +1,4 @@
-#include <stdio.h>
+#include <string.h>
 
 void
 safecpy(char *to, char *from, int tolen)
--