Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Refactorize the sthread interception of functions
[simgrid.git] / examples / c / app-bittorrent / app-bittorrent.c
index 56a3cc1cb484c3463cfd44b6f1f7252e8f60a27f..fafe793971bd1242ea97bd9032696427d7ca1568 100644 (file)
@@ -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]);