]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
FIX: removing compiler warning about double const.
authoriceman1001 <iceman@iuse.se>
Sun, 26 Feb 2017 20:28:06 +0000 (21:28 +0100)
committericeman1001 <iceman@iuse.se>
Sun, 26 Feb 2017 20:28:06 +0000 (21:28 +0100)
  thanks to @spaceteddy  ref: https://github.com/iceman1001/proxmark3/issues/83

client/proxmark3.c
client/proxmark3.h

index dad2d86bfdfec512c2c8d4084bc4aa31bf4a068a..670b9720e1238d225e08f78b628ef966ebea1b75 100644 (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;
 }
index 15049ee3e767d7071906c7692dda5132594fd3b1..6874f9d8e471ea3d589855e650f61d77fc1c797f 100644 (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
\ No newline at end of file
Impressum, Datenschutz