/* Has one FileIn parameter. */
int
-do_upload (const char *filename)
+do_upload (char *filename)
{
int err, fd, r, is_dev;
/* Has one FileOut parameter. */
int
-do_download (const char *filename)
+do_download (char *filename)
{
int fd, r, is_dev;
char buf[GUESTFS_MAX_CHUNK_SIZE];