diff options
author | rsc <devnull@localhost> | 2004-09-17 22:08:43 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-09-17 22:08:43 +0000 |
commit | b4c842f139b47e1c999eb395f348c236af83143b (patch) | |
tree | d015e0e9242afb97140efc9f94aa809e15f08f54 /src | |
parent | 4611e331e78282633bd338d9ed4f6b9d8f955bbd (diff) | |
download | plan9port-b4c842f139b47e1c999eb395f348c236af83143b.tar.gz plan9port-b4c842f139b47e1c999eb395f348c236af83143b.tar.bz2 plan9port-b4c842f139b47e1c999eb395f348c236af83143b.zip |
small tweaks
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; |