mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
use local fct instead
This commit is contained in:
parent
918e11bac4
commit
7f2bc916d4
1 changed files with 5 additions and 5 deletions
|
@ -26,13 +26,13 @@
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
#include "preferences.h"
|
#include "preferences.h"
|
||||||
#include "comms.h"
|
|
||||||
#include "emv/emvjson.h"
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "cmdparser.h"
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
#include <proxmark3.h>
|
#include "proxmark3.h"
|
||||||
|
#include "comms.h"
|
||||||
|
#include "emv/emvjson.h"
|
||||||
|
#include "cmdparser.h"
|
||||||
#include "cliparser.h"
|
#include "cliparser.h"
|
||||||
#include "uart/uart.h" // uart_reconfigure_timeouts
|
#include "uart/uart.h" // uart_reconfigure_timeouts
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ static char *prefGetFilename(void) {
|
||||||
if (searchHomeFilePath(&path, NULL, preferencesFilename, false) == PM3_SUCCESS)
|
if (searchHomeFilePath(&path, NULL, preferencesFilename, false) == PM3_SUCCESS)
|
||||||
return path;
|
return path;
|
||||||
else
|
else
|
||||||
return strdup(preferencesFilename);
|
return str_dup(preferencesFilename);
|
||||||
}
|
}
|
||||||
|
|
||||||
int preferences_load(void) {
|
int preferences_load(void) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue