This patch allows befs.h to have functions from parser.h, such as match_token(), or match_int(). Signed-off-by: Christopher P. Sacchi <christophersacchi@xxxxxxxxx> --- linux-3.12-rc6/fs/befs/befs.h 2013-10-19 15:28:15.000000000 -0400 +++ linux-3.12-rc6/fs/befs/befs.h 2013-10-25 07:47:57.511250374 -0400 @@ -9,12 +9,14 @@ #define _LINUX_BEFS_H #include "befs_fs_types.h" +#include <linux/parser.h> /* used in debug.c */ #define BEFS_VERSION "0.9.3" typedef u64 befs_blocknr_t; + /* * BeFS in memory structures */ @@ -151,6 +153,15 @@ befs_brun_size(struct super_block *sb, b return BEFS_SB(sb)->block_size * run.len; } +/* Use functions from <linux/parser.h> */ + +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); +ssize_t match_strlcpy(char *, const substring_t *, size_t); +char *match_strdup(const substring_t *); + #include "endian.h" #endif /* _LINUX_BEFS_H */ -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html