summaryrefslogtreecommitdiff
path: root/src/lib9
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-07-20 13:37:35 -0700
committerRuss Cox <rsc@golang.org>2009-07-20 13:37:35 -0700
commit0cb144ff8c2f8884a1fa611187d0d486c1df7dfe (patch)
treefa779cb0f40b6da5bf7a6b2b8575ffe23a85dbe8 /src/lib9
parent32098d4dab961c3a937a629b370aba9f9718f8c1 (diff)
downloadgolang-0cb144ff8c2f8884a1fa611187d0d486c1df7dfe.tar.gz
fix memset in fmtnull.
R=r DELTA=1 (0 added, 0 deleted, 1 changed) OCL=31863 CL=31870
Diffstat (limited to 'src/lib9')
-rw-r--r--src/lib9/fmt/fmtnull.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib9/fmt/fmtnull.c b/src/lib9/fmt/fmtnull.c
index b8caacbf7..dbbf02f9d 100644
--- a/src/lib9/fmt/fmtnull.c
+++ b/src/lib9/fmt/fmtnull.c
@@ -16,8 +16,11 @@
* THE MERCHANTABILITY OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
*/
-#include <u.h>
-#include <libc.h>
+/* Copyright (c) 2004 Google Inc.; see LICENSE */
+#include <stdarg.h>
+#include <string.h>
+#include "plan9.h"
+#include "fmt.h"
#include "fmtdef.h"
/*