Fix "const const" warning
authorFangrui Song <i@maskray.me>
Sun, 18 Nov 2018 21:48:31 +0000 (13:48 -0800)
committerFangrui Song <i@maskray.me>
Sun, 2 Dec 2018 18:12:56 +0000 (10:12 -0800)
fs_test/lwext4_server.c

index 2c923baef9285e7dd15111b30a22417e3ba13d13..b65ef3de1958e4c7f305f820028fa3738fddd56d 100644 (file)
@@ -626,7 +626,7 @@ static int file_read(const char *p)
        return rc;
 }
 
-static int file_write(const const char *p)
+static int file_write(const char *p)
 {
        int fid = MAX_FILES;
        int d;