X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=fish%2Fcopy.c;h=9f3f3df62f8477bc782beb0336f56bd16dd05715;hb=3e766f745dc6cf351e56d9955f580152ddb9110a;hp=a7274f35a76cd927e53875f5a8feeea04094be4b;hpb=513363290ef146c8cc54ba80087ae8dd66a40ab9;p=libguestfs.git diff --git a/fish/copy.c b/fish/copy.c index a7274f3..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 -do_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 -do_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,