X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=fish%2Fcopy.c;h=9f3f3df62f8477bc782beb0336f56bd16dd05715;hp=bb6334c47dd3ca5d8e22d286145b931f4a60e33d;hb=096f341714ee7d1575c93d437a8085821aa88d23;hpb=0003ea2c3dbaa7e22f4f616539136821d80694b8 diff --git a/fish/copy.c b/fish/copy.c index bb6334c..9f3f3df 100644 --- a/fish/copy.c +++ b/fish/copy.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include @@ -33,7 +34,7 @@ static int make_tar_output (const char *local, const char *basename); static int split_path (char *buf, size_t buf_size, const char *path, const char **dirname, const char **basename); int -run_copy_in (const char *cmd, int argc, char *argv[]) +run_copy_in (const char *cmd, size_t argc, char *argv[]) { if (argc < 2) { fprintf (stderr, @@ -176,7 +177,7 @@ tar_create (const char *dir, const char *path) } int -run_copy_out (const char *cmd, int argc, char *argv[]) +run_copy_out (const char *cmd, size_t argc, char *argv[]) { if (argc < 2) { fprintf (stderr,