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.
|
||||
*/
|
||||
#include <stdarg.h>
|
||||
#include "fmt.h"
|
||||
#include <fmt.h>
|
||||
#include "fmtdef.h"
|
||||
|
||||
int
|
||||
sprint(char *buf, char *fmt, ...)
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue