]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/parser.h
Add mISDN DSP
[linux-2.6-omap-h63xx.git] / include / linux / parser.h
index 26b2bdfcaf06023848f68d8b00ed19277b5647da..cc554ca8bc7836401807ec1359a13f44f679c908 100644 (file)
@@ -14,7 +14,7 @@ struct match_token {
        const char *pattern;
 };
 
-typedef struct match_token match_table_t[];
+typedef const struct match_token match_table_t[];
 
 /* Maximum number of arguments that match_token will find in a pattern */
 enum {MAX_OPT_ARGS = 3};
@@ -29,5 +29,5 @@ int match_token(char *, match_table_t table, substring_t args[]);
 int match_int(substring_t *, int *result);
 int match_octal(substring_t *, int *result);
 int match_hex(substring_t *, int *result);
-void match_strcpy(char *, const substring_t *);
+size_t match_strlcpy(char *, const substring_t *, size_t);
 char *match_strdup(const substring_t *);