btrfs-progs: move prefixcmp helper to utils
[platform/upstream/btrfs-progs.git] / utils.h
diff --git a/utils.h b/utils.h
index 31ccbf0..24d0a20 100644 (file)
--- a/utils.h
+++ b/utils.h
@@ -146,6 +146,7 @@ int btrfs_tree_search2_ioctl_supported(int fd);
 
 unsigned int get_unit_mode_from_arg(int *argc, char *argv[], int df_mode);
 int string_is_numerical(const char *str);
+int prefixcmp(const char *str, const char *prefix);
 
 /*
  * Global program state, configurable by command line and available to