Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Cosmetics: make #endif's comment match #ifndef.
[simgrid.git] / teshsuite / msg / app-bittorrent / tracker.h
index f00e71f..8975121 100644 (file)
@@ -1,11 +1,11 @@
-/* Copyright (c) 2012-2014. The SimGrid Team.
+/* Copyright (c) 2012-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. */
 
-#ifndef BITTORRENT_TRACKER_H_
-#define BITTORRENT_TRACKER_H_
+#ifndef BITTORRENT_TRACKER_H
+#define BITTORRENT_TRACKER_H
 #include "bittorrent.h"
 #include <xbt/dynar.h>
 /**
@@ -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 */