summaryrefslogtreecommitdiffstats
path: root/tools/tools.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/tools.h')
-rw-r--r--tools/tools.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/tools.h b/tools/tools.h
index f92abd5c..4d2f5b07 100644
--- a/tools/tools.h
+++ b/tools/tools.h
@@ -156,6 +156,8 @@ 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 major_minor_valid(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);