Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[sonar] Constify pointer and reference parameters in teshsuite/.
[simgrid.git] / teshsuite / msg / app-bittorrent / tracker.h
index f00e71f..ee5d2f4 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2012-2014. The SimGrid Team.
+/* Copyright (c) 2012-2019. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -38,5 +38,5 @@ tracker_task_data_t tracker_task_data_new(const char* issuer_host_name, const ch
                                           int downloaded, int left);
 void tracker_task_data_free(tracker_task_data_t task);
 
-int is_in_list(xbt_dynar_t peers, int id);
+int is_in_list(const_xbt_dynar_t peers, int id);
 #endif /* BITTORRENT_TRACKER_H */