diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib9/fmt/sprint.c | 3 | ||||
-rw-r--r-- | src/lib9/fmt/vsnprint.c | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib9/fmt/sprint.c b/src/lib9/fmt/sprint.c index ac68851b..8551ca3c 100644 --- 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 index ad64203a..7272ab62 100644 --- 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; |