commit b4c842f139b47e1c999eb395f348c236af83143b
parent 4611e331e78282633bd338d9ed4f6b9d8f955bbd
Author: rsc <devnull@localhost>
Date: Fri, 17 Sep 2004 22:08:43 +0000
small tweaks
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/lib9/fmt/sprint.c b/src/lib9/fmt/sprint.c
@@ -12,7 +12,8 @@
* OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
*/
#include <stdarg.h>
-#include "fmt.h"
+#include <fmt.h>
+#include "fmtdef.h"
int
sprint(char *buf, char *fmt, ...)
diff --git a/src/lib9/fmt/vsnprint.c b/src/lib9/fmt/vsnprint.c
@@ -20,7 +20,6 @@ int
vsnprint(char *buf, int len, char *fmt, va_list args)
{
Fmt f;
- int x = 0;
if(len <= 0)
return -1;