]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/printf.c
CHG: `hf em` commands. Client side now has same commands as Peter Fillmores 14atagfuz...
[proxmark3-svn] / armsrc / printf.c
index d5e61798a3516f82ee932922f8b63e1a81139ef2..eca676a201e0038cbfaddf33f2e0db586607daf6 100644 (file)
  *
  *     @(#)subr_prf.c  8.3 (Berkeley) 1/21/94
  */
-
-#include <stddef.h>
-#include <stdarg.h>
 #include "printf.h"
-#include "util.h"
-#include "string.h"
-
-typedef uint32_t uintmax_t;
-typedef int32_t intmax_t;
 
 typedef unsigned char u_char;
 typedef unsigned int u_int;
-typedef unsigned long u_long;
-typedef unsigned short u_short;
 typedef unsigned long long u_quad_t;
 typedef long long quad_t;
-
+typedef unsigned long u_long;
+typedef unsigned short u_short;
 typedef int ssize_t;
+/*
+typedef uint32_t uintmax_t;
+typedef int32_t intmax_t;
+*/
 
 #define NBBY    8               /* number of bits in a byte */
 
@@ -431,7 +426,6 @@ sprintf(char *dest, const char *fmt, ...)
        /* http://www.pagetable.com/?p=298 */
        int retval;
        va_list ap;
-
        va_start(ap, fmt);
        retval = kvsprintf(fmt, dest, 10, ap);
        va_end(ap);
Impressum, Datenschutz