X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c877721341b71a10f05fe7864ed41e5b7925c587..8344f32ee2339f2b53a6e79ac0e9aa3a93384f58:/examples/c/app-bittorrent/app-bittorrent.c diff --git a/examples/c/app-bittorrent/app-bittorrent.c b/examples/c/app-bittorrent/app-bittorrent.c index 56a3cc1cb4..fafe793971 100644 --- a/examples/c/app-bittorrent/app-bittorrent.c +++ b/examples/c/app-bittorrent/app-bittorrent.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2012-2020. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2012-2023. 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. */ @@ -20,8 +20,8 @@ int main(int argc, char* argv[]) simgrid_load_platform(argv[1]); - simgrid_register_function("tracker", tracker); - simgrid_register_function("peer", peer); + simgrid_register_function("tracker", tracker_run); + simgrid_register_function("peer", peer_run); simgrid_load_deployment(argv[2]);