1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-12-06 00:23:50 +03:00

cleanup: rename func

Update name of function read_and_validate_major_minor
and put it into the right header file toollib.h.

(In release update for f09f85d027)
This commit is contained in:
Zdenek Kabelac
2014-09-27 18:53:08 +02:00
parent 911d6efa51
commit 89e1190ef0
6 changed files with 63 additions and 62 deletions

View File

@@ -138,9 +138,6 @@ int segtype_arg(struct cmd_context *cmd, struct arg_values *av);
int alloc_arg(struct cmd_context *cmd, struct arg_values *av);
int readahead_arg(struct cmd_context *cmd, struct arg_values *av);
int metadatacopies_arg(struct cmd_context *cmd __attribute__((unused)), struct arg_values *av);
int read_and_validate_major_minor(const struct cmd_context *cmd,
const struct format_type *fmt,
int32_t *major, int32_t *minor);
/* we use the enums to access the switches */
unsigned arg_count(const struct cmd_context *cmd, int a);