mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-31 01:11:27 +08:00
FIX: removing compiler warning about double const.
thanks to @spaceteddy ref: https://github.com/iceman1001/proxmark3/issues/83
This commit is contained in:
parent
aa5cba4ca3
commit
1b6cc9746e
2 changed files with 4 additions and 4 deletions
client
|
@ -222,12 +222,12 @@ static void dumpAllHelp(int markdown)
|
||||||
static char *my_executable_path = NULL;
|
static char *my_executable_path = NULL;
|
||||||
static char *my_executable_directory = NULL;
|
static char *my_executable_directory = NULL;
|
||||||
|
|
||||||
const char const *get_my_executable_path(void)
|
const char *get_my_executable_path(void)
|
||||||
{
|
{
|
||||||
return my_executable_path;
|
return my_executable_path;
|
||||||
}
|
}
|
||||||
|
|
||||||
const char const *get_my_executable_directory(void)
|
const char *get_my_executable_directory(void)
|
||||||
{
|
{
|
||||||
return my_executable_directory;
|
return my_executable_directory;
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
#define PROXPROMPT "pm3 --> "
|
#define PROXPROMPT "pm3 --> "
|
||||||
|
|
||||||
void SendCommand(UsbCommand *c);
|
void SendCommand(UsbCommand *c);
|
||||||
const char const *get_my_executable_path(void);
|
const char *get_my_executable_path(void);
|
||||||
const char const *get_my_executable_directory(void);
|
const char *get_my_executable_directory(void);
|
||||||
|
|
||||||
#endif
|
#endif
|
Loading…
Add table
Reference in a new issue