FIX: removing compiler warning about double const.
thanks to @spaceteddy ref: https://github.com/iceman1001/proxmark3/issues/83
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user