return 0;
}
-static int parse_size (const char *str, off_t *size_rtn);
-
/* This is the underlying allocation function. It's called from
* a few other places in guestfish.
*/
return 0;
}
-static int
+int
parse_size (const char *str, off_t *size_rtn)
{
unsigned long long size;
if (xerr != LONGINT_OK) {
fprintf (stderr,
_("%s: invalid integer parameter (%s returned %d)\n"),
- "alloc_disk", "xstrtoull", xerr);
+ "parse_size", "xstrtoull", xerr);
return -1;
}