Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
yet another cleaning pass
[simgrid.git] / examples / msg / chainsend / iterator.h
index 3267913..5d3d06d 100644 (file)
@@ -1,7 +1,11 @@
-#ifndef KADEPLOY_ITERATOR_H
-#define KADEPLOY_ITERATOR_H
+/* Copyright (c) 2012-2014. The SimGrid Team.
+ * All rights reserved.                                                     */
 
-#include <stdlib.h>
+/* 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 ITERATOR_H
+#define ITERATOR_H
 
 #include "xbt/dynar.h"
 #include "xbt/sysdep.h"
@@ -30,7 +34,6 @@ xbt_dynar_t random_indices_list(int size);
 
 /* Shuffle */
 /**************************************/
-static int rand_int(int n);
 void xbt_dynar_shuffle_in_place(xbt_dynar_t indices_list);
 
 #define xbt_dynar_swap_elements(d, type, i, j) \
@@ -40,4 +43,4 @@ void xbt_dynar_shuffle_in_place(xbt_dynar_t indices_list);
     xbt_dynar_get_as(indices_list, (unsigned int)i, type)); \
   xbt_dynar_set_as(indices_list, (unsigned int)i, type, tmp);
 
-#endif /* KADEPLOY_ITERATOR_H */
+#endif /* ITERATOR_H */