diff --git a/client/fileutils.c b/client/fileutils.c index b89925334..1bbcd890c 100644 --- a/client/fileutils.c +++ b/client/fileutils.c @@ -42,9 +42,6 @@ #include "commonutil.h" #include "util.h" - -#ifndef ON_DEVICE - #define PATH_MAX_LENGTH 100 /** @@ -612,7 +609,3 @@ int convertOldMfuDump(uint8_t **dump, size_t *dumplen) { return PM3_SUCCESS; } - -#else //if we're on ARM - -#endif diff --git a/client/fileutils.h b/client/fileutils.h index 79b053fc2..f5e51f470 100644 --- a/client/fileutils.h +++ b/client/fileutils.h @@ -38,8 +38,6 @@ #ifndef FILEUTILS_H #define FILEUTILS_H -#ifndef ON_DEVICE - #include #include #include @@ -162,20 +160,4 @@ int loadFileDICTIONARY(const char *preferredName, void *data, size_t *datalen, u */ int convertOldMfuDump(uint8_t **dump, size_t *dumplen); -#define PrintAndLogEx(level, format, args...) PrintAndLogEx(level, format , ## args) -#else - -/** -* Utility function to print to console. This is used consistently within the library instead -* of printf, but it actually only calls printf. The reason to have this method is to -*make it simple to plug this library into proxmark, which has this function already to -* write also to a logfile. When doing so, just point this function to use PrintAndLog -* @param fmt -*/ -#define PrintAndLogEx(level, format, args...) { } - - - -#endif //ON_DEVICE - #endif // FILEUTILS_H