X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/f7e3ed82874bfd8951c90536bd7185d599d6dbf8..bd20f8f47847787e1f3e933043933272908c5beb:/armsrc/appmain.c diff --git a/armsrc/appmain.c b/armsrc/appmain.c index c2ea9f7d..fd1aa590 100644 --- a/armsrc/appmain.c +++ b/armsrc/appmain.c @@ -1,13 +1,22 @@ //----------------------------------------------------------------------------- -// The main application code. This is the first thing called after start.c -// executes. // Jonathan Westhues, Mar 2006 // Edits by Gerhard de Koning Gans, Sep 2007 (##) +// +// This code is licensed to you under the terms of the GNU GPL, version 2 or, +// at your option, any later version. See the LICENSE.txt file for the text of +// the license. +//----------------------------------------------------------------------------- +// The main application code. This is the first thing called after start.c +// executes. //----------------------------------------------------------------------------- #include "proxmark3.h" #include "apps.h" #include "util.h" +#include "printf.h" +#include "string.h" + +#include #include "legicrf.h" @@ -16,13 +25,6 @@ # include "LCD.h" #endif -#define va_list __builtin_va_list -#define va_start __builtin_va_start -#define va_arg __builtin_va_arg -#define va_end __builtin_va_end -int kvsprintf(char const *fmt, void *arg, int radix, va_list ap); - - #define abs(x) ( ((x)<0) ? -(x) : (x) ) //=============================================================================