X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/91c38cf715f2bbd668cb13f4acfed0cb01293912..b38742c92c8af83d1029073d5341902ed9ffa01a:/client/ui.c diff --git a/client/ui.c b/client/ui.c index 99c9f170..da21049e 100644 --- a/client/ui.c +++ b/client/ui.c @@ -1,3 +1,14 @@ +//----------------------------------------------------------------------------- +// Copyright (C) 2009 Michael Gernoth +// Copyright (C) 2010 iZsh +// +// 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 #include #include @@ -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) {