X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/19b3962253112b19308537bc2400de141c119d99..b0d07f67c6153ee2689bc22486c95becf4286493:/teshsuite/simdag/availability/availability.c diff --git a/teshsuite/simdag/availability/availability.c b/teshsuite/simdag/availability/availability.c index ed79a9327a..405124237c 100644 --- a/teshsuite/simdag/availability/availability.c +++ b/teshsuite/simdag/availability/availability.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2013-2015. The SimGrid Team. +/* Copyright (c) 2013-2019. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -12,7 +12,7 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(test,"Logging for the current example"); static int name_compare_hosts(const void *n1, const void *n2) { - return strcmp(sg_host_get_name(*(sg_host_t *) n1), sg_host_get_name(*(sg_host_t *) n2)); + return strcmp(sg_host_get_name(*(const sg_host_t*)n1), sg_host_get_name(*(const sg_host_t*)n2)); } static void scheduleDAX(xbt_dynar_t dax) @@ -60,6 +60,5 @@ int main(int argc, char *argv[]) SD_task_destroy(task); } xbt_dynar_free(&dax); - SD_exit(); return 0; }