]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/ui.c
Add License/Copyright headers/notices. Please add your own copyright notice if you...
[proxmark3-svn] / client / ui.c
index 99c9f17007240191a7da4f14fd6b6464385a096c..0b4183dfecfb0e40eb580879cd1bb0504879ce30 100644 (file)
@@ -1,3 +1,13 @@
+//-----------------------------------------------------------------------------
+// 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 +20,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 +46,6 @@ void PrintAndLog(char *fmt, ...)
   }
   va_end(argptr2);
 }
-#endif
 
 void SetLogFilename(char *fn)
 {
Impressum, Datenschutz