X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ee52f84fe512219acf534c4d4654c3df56659e91..09fcfb6e32773cd8be0338af431be7de2bcdff5f:/src/mc/mc_pair.c diff --git a/src/mc/mc_pair.c b/src/mc/mc_pair.c index f25394abbf..ca6678b4c4 100644 --- a/src/mc/mc_pair.c +++ b/src/mc/mc_pair.c @@ -1,4 +1,5 @@ -/* Copyright (c) 2013 Da SimGrid Team. All rights reserved. */ +/* Copyright (c) 2013. 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. */ @@ -25,3 +26,7 @@ void MC_pair_delete(mc_pair_t p){ xbt_free(p); p = NULL; } + +void mc_pair_free_voidp(void *p){ + MC_pair_delete((mc_pair_t) * (void **)p); +}