X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0e9c0448c6566825b170b98ecff716b098bda10e..2c8c164d58104acb6256b6d8efd476a6a2165b8a:/src/xbt/graph.c diff --git a/src/xbt/graph.c b/src/xbt/graph.c index 6e5fdb163a..1db1686e66 100644 --- a/src/xbt/graph.c +++ b/src/xbt/graph.c @@ -1,13 +1,11 @@ /* a generic graph library. */ -/* Copyright (c) 2006-2013. The SimGrid Team. +/* Copyright (c) 2006-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 "xbt/sysdep.h" #include "xbt/log.h" #include "xbt/graph.h" @@ -16,8 +14,10 @@ #include "xbt/dict.h" #include "xbt/heap.h" #include "xbt/str.h" +#include "xbt/file.h" - +#include +#include XBT_LOG_NEW_DEFAULT_SUBCATEGORY(xbt_graph, xbt, "Graph"); @@ -627,7 +627,7 @@ xbt_graph_t xbt_graph_read(const char *filename, ETag_graphxml_edge_fun = __parse_edge; xbt_graph_parse_open(filename); - _XBT_GNUC_UNUSED int res; + XBT_ATTRIB_UNUSED int res; res = xbt_graph_parse(); xbt_assert(!res, "Parse error in %s", filename); xbt_graph_parse_close();