tiny nametest.c warning fixes
PATCH 1/1 tiny nametest.c warning fixes
Include ctype.h for toupper/tolower and remove an unused variable.
Signed-off-by Christoph Hellwig <[email protected]>
src/nametest.c +1 -1
@@ -16,6 +16,7 @@* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <ctype.h> #include "global.h" /*
@@ -308,7 +309,6 @@ main(int argc, char *argv[])char *get_name (struct info *ip) {static char path[PATH_MAX ]; -int i;char *p;if (!mixcase)
ping?
Quoted 16 lines · Christoph Hellwig
Include
ctype.hfor toupper/tolower and remove an unused variable.Signed-off-by Christoph Hellwig <[email protected]>src/nametest.c +1
-0@@ -16,6 +16,7 @@* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <ctype.h> #include "global.h" /*
src/nametest.c main(int argc, char *argv[]) · line 314
Quoted 7 lines
src/nametest.c +0
-1@@ -308,7 +309,6 @@ main(int argc, char *argv[])char *get_name (struct info *ip) {static char path[PATH_MAX ]; -int i;char *p;if (!mixcase)
---end quoted text---