X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a846b9415542cdaa8ba5d0f7efeadecb56ba7c2c..719a77db362a51309e90a75253788223936b276c:/src/xbt/setset.c diff --git a/src/xbt/setset.c b/src/xbt/setset.c index 79d25575e9..2b0ec89424 100644 --- a/src/xbt/setset.c +++ b/src/xbt/setset.c @@ -1,9 +1,15 @@ +/* Copyright (c) 2010-2012, 2014. 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. */ + #include #include #include #include "setset_private.h" #include "xbt/sysdep.h" -#include "gras_config.h" /*_XBT_WIN32*/ +#include "internal_config.h" /*_XBT_WIN32*/ /*The function ffs doesn't exist for windows*/ #ifdef _XBT_WIN32 @@ -64,7 +70,7 @@ void xbt_setset_elm_add(xbt_setset_t setset, void *obj) xbt_setset_elm_entry_t new_entry = NULL; xbt_setset_elm_entry_t first_elm = NULL; xbt_setset_elm_t e = (xbt_setset_elm_t) obj; - xbt_assert0(e->ID == 0, "Adding element with non NULL ID"); + xbt_assert(e->ID == 0, "Adding element with non NULL ID"); first_elm = (xbt_setset_elm_entry_t) xbt_dynar_get_ptr(setset->elm_array, 0);