libsupport: fix function prototype for parse_quota_opts

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
debian
Theodore Ts'o 2016-03-18 16:11:53 -04:00
parent 9c05bb9fba
commit a96aa32505
2 changed files with 2 additions and 2 deletions

View File

@ -662,7 +662,7 @@ out:
return err;
}
int parse_quota_opts(const char *opts, int (*func)(), void *data)
int parse_quota_opts(const char *opts, int (*func)(char *, void *), void *data)
{
char *buf, *token, *next, *p;
int len;

View File

@ -233,7 +233,7 @@ int quota_file_exists(ext2_filsys fs, enum quota_type qtype);
void quota_set_sb_inum(ext2_filsys fs, ext2_ino_t ino, enum quota_type qtype);
errcode_t quota_compare_and_update(quota_ctx_t qctx, enum quota_type qtype,
int *usage_inconsistent);
int parse_quota_opts(const char *opts, int (*func)(void), void *data);
int parse_quota_opts(const char *opts, int (*func)(char *, void *), void *data);
/*
* Return pointer to reserved inode field in superblock for given quota type.