small tweaks
This commit is contained in:
parent
4611e331e7
commit
b4c842f139
2 changed files with 2 additions and 2 deletions
|
|
@ -12,7 +12,8 @@
|
||||||
* OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
|
* OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
|
||||||
*/
|
*/
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include "fmt.h"
|
#include <fmt.h>
|
||||||
|
#include "fmtdef.h"
|
||||||
|
|
||||||
int
|
int
|
||||||
sprint(char *buf, char *fmt, ...)
|
sprint(char *buf, char *fmt, ...)
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,6 @@ int
|
||||||
vsnprint(char *buf, int len, char *fmt, va_list args)
|
vsnprint(char *buf, int len, char *fmt, va_list args)
|
||||||
{
|
{
|
||||||
Fmt f;
|
Fmt f;
|
||||||
int x = 0;
|
|
||||||
|
|
||||||
if(len <= 0)
|
if(len <= 0)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue