-/* Copyright (c) 2014-2019. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2014-2020. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
XBT_LOG_NEW_DEFAULT_CATEGORY(remote_io, "Messages specific for this io example");
-static int host(int argc, char* argv[])
+static void host(int argc, char* argv[])
{
simgrid::s4u::File file(argv[1], nullptr);
const char* filename = file.get_path();
file.remote_copy(simgrid::s4u::Host::by_name(argv[2]), argv[3]);
}
}
- return 0;
}
int main(int argc, char** argv)