]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/parser.h
[PATCH] introduce fmode_t, do annotations
[linux-2.6-omap-h63xx.git] / include / linux / parser.h
index 26b2bdfcaf06023848f68d8b00ed19277b5647da..ea2281e726f65f5f2968eb571adc874843530959 100644 (file)
@@ -25,9 +25,9 @@ typedef struct {
        char *to;
 } substring_t;
 
-int match_token(char *, match_table_t table, substring_t args[]);
+int match_token(char *, const 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 *);