FIX: removing compiler warning about double const.

thanks to @spaceteddy  ref: https://github.com/iceman1001/proxmark3/issues/83
This commit is contained in:
iceman1001 2017-02-26 21:28:06 +01:00
parent aa5cba4ca3
commit 1b6cc9746e
2 changed files with 4 additions and 4 deletions

View file

@ -222,12 +222,12 @@ static void dumpAllHelp(int markdown)
static char *my_executable_path = 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;
}
const char const *get_my_executable_directory(void)
const char *get_my_executable_directory(void)
{
return my_executable_directory;
}

View file

@ -30,7 +30,7 @@
#define PROXPROMPT "pm3 --> "
void SendCommand(UsbCommand *c);
const char const *get_my_executable_path(void);
const char const *get_my_executable_directory(void);
const char *get_my_executable_path(void);
const char *get_my_executable_directory(void);
#endif