]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/ui.c
Apply copyright patch from Michael Gernoth
[proxmark3-svn] / client / ui.c
index 99c9f17007240191a7da4f14fd6b6464385a096c..da21049e7b0a67ca00aad87c90d2f5434770730a 100644 (file)
@@ -1,3 +1,14 @@
+//-----------------------------------------------------------------------------
+// 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>
@@ -10,11 +21,6 @@ int offline;
 
 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;
@@ -41,7 +47,6 @@ void PrintAndLog(char *fmt, ...)
   }
   va_end(argptr2);
 }
-#endif
 
 void SetLogFilename(char *fn)
 {
Impressum, Datenschutz