X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Flexer%2Fq2c.c;h=1a95d08091936461b083a35b3d27531d3795151e;hb=c75794cffb05769b71a346af8513a3e8dde55f94;hp=f2617092b3368c6173a4676ee549b3bf7cb320d5;hpb=51c3424bf88d0fa110683fbcdd208d0fa5c98179;p=pspp diff --git a/src/language/lexer/q2c.c b/src/language/lexer/q2c.c index f2617092b3..1a95d08091 100644 --- a/src/language/lexer/q2c.c +++ b/src/language/lexer/q2c.c @@ -225,11 +225,11 @@ st_upper (const char *s) /* Returns the address of the first non-whitespace character in S, or the address of the null terminator if none. */ static char * -skip_ws (const char *s) +skip_ws (char *s) { while (isspace ((unsigned char) *s)) s++; - return (char *) s; + return s; } /* Read one line from the input file into buf. Lines having special