-#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"
/* 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) \
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 */