Merge branch 'feature/wwrite_string_for_idf' into 'master'

Enable -Wwrite-strings when compiling IDF's own C files

See merge request idf/esp-idf!2193
This commit is contained in:
Ivan Grokhotkov
2018-04-11 14:59:08 +08:00
21 changed files with 49 additions and 27 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ static void ATTR_GDBFN gdbPacketChar(char c) {
}
//Send a string as part of a packet
static void ATTR_GDBFN gdbPacketStr(char *c) {
static void ATTR_GDBFN gdbPacketStr(const char *c) {
while (*c!=0) {
gdbPacketChar(*c);
c++;