string: factorize skip_spaces and export it to be generally available
[safe/jmp/linux-2.6] / lib / parser.c
index 4f0cbc0..b00d020 100644 (file)
@@ -100,7 +100,7 @@ static int match_one(char *s, const char *p, substring_t args[])
  * format identifiers which will be taken into account when matching the
  * tokens, and whose locations will be returned in the @args array.
  */
-int match_token(char *s, match_table_t table, substring_t args[])
+int match_token(char *s, const match_table_t table, substring_t args[])
 {
        const struct match_token *p;