mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 10:43:01 +08:00
remove ON_DEVICE from fileutils
This commit is contained in:
parent
77c86099cc
commit
e8efeacc57
2 changed files with 0 additions and 25 deletions
|
@ -42,9 +42,6 @@
|
||||||
#include "commonutil.h"
|
#include "commonutil.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
|
|
||||||
|
|
||||||
#ifndef ON_DEVICE
|
|
||||||
|
|
||||||
#define PATH_MAX_LENGTH 100
|
#define PATH_MAX_LENGTH 100
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -612,7 +609,3 @@ int convertOldMfuDump(uint8_t **dump, size_t *dumplen) {
|
||||||
return PM3_SUCCESS;
|
return PM3_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#else //if we're on ARM
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -38,8 +38,6 @@
|
||||||
#ifndef FILEUTILS_H
|
#ifndef FILEUTILS_H
|
||||||
#define FILEUTILS_H
|
#define FILEUTILS_H
|
||||||
|
|
||||||
#ifndef ON_DEVICE
|
|
||||||
|
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -162,20 +160,4 @@ int loadFileDICTIONARY(const char *preferredName, void *data, size_t *datalen, u
|
||||||
*/
|
*/
|
||||||
int convertOldMfuDump(uint8_t **dump, size_t *dumplen);
|
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
|
#endif // FILEUTILS_H
|
||||||
|
|
Loading…
Reference in a new issue