Nothing happens at least with gcc by default, but this is the only
C99 (or after) specific declaration, so change it to normal style.
Signed-off-by: Tomohiro Kusumi <tkusumi@tuxera.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
const char *p = str;
char *c;
unsigned long long mult = 1;
const char *p = str;
char *c;
unsigned long long mult = 1;
/*
* Go forward until we hit a non-digit, or +/- sign
/*
* Go forward until we hit a non-digit, or +/- sign
- for (int i = 0; i < strlen(c); i++)
+ for (i = 0; i < strlen(c); i++)
c[i] = tolower(c[i]);
if (!strncmp("us", c, 2) || !strncmp("usec", c, 4))
c[i] = tolower(c[i]);
if (!strncmp("us", c, 2) || !strncmp("usec", c, 4))