From: iceman1001 Date: Sun, 26 Feb 2017 20:28:06 +0000 (+0100) Subject: FIX: removing compiler warning about double const. X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/1b6cc9746e25e93b9c8d76e193af4796c942b167 FIX: removing compiler warning about double const. thanks to @spaceteddy ref: https://github.com/iceman1001/proxmark3/issues/83 --- diff --git a/client/proxmark3.c b/client/proxmark3.c index dad2d86b..670b9720 100644 --- a/client/proxmark3.c +++ b/client/proxmark3.c @@ -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; } diff --git a/client/proxmark3.h b/client/proxmark3.h index 15049ee3..6874f9d8 100644 --- a/client/proxmark3.h +++ b/client/proxmark3.h @@ -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 \ No newline at end of file