+//-----------------------------------------------------------------------------
+// Copyright (C) 2009 Michael Gernoth <michael at gernoth.net>
+// Copyright (C) 2010 iZsh <izsh at fail0verflow.com>
+//
+// 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.
+//-----------------------------------------------------------------------------
+// UI utilities
+//-----------------------------------------------------------------------------
+
#include <stdarg.h>
#include <stdio.h>
#include <time.h>
static char *logfilename = "proxmark3.log";
-// FIXME: ifndef not really nice...
-// We should eventually get rid of it once
-// we fully factorize the code between *nix and windows
-// (using pthread and alikes...)
-#ifndef WIN32
void PrintAndLog(char *fmt, ...)
{
va_list argptr, argptr2;
}
va_end(argptr2);
}
-#endif
void SetLogFilename(char *fn)
{