From: mquinson Date: Mon, 27 Jun 2005 22:23:46 +0000 (+0000) Subject: Kill defaultlog and gras/core.h X-Git-Tag: v3.3~3922 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/0d72d6c126897c175fdb308a55e2603bcf2c50af?ds=sidebyside Kill defaultlog and gras/core.h git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1433 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/gras/gras.c b/src/gras/gras.c index 138456fd6c..0e98297039 100644 --- a/src/gras/gras.c +++ b/src/gras/gras.c @@ -14,7 +14,7 @@ #include "gras_modinter.h" /* module init/exit */ #include "xbt_modinter.h" /* module init/exit */ -#include "gras/core.h" +#include "gras.h" #include "gras/process.h" /* FIXME: killme and put process_init in modinter */ /* FIXME: move it to some random header */ @@ -24,12 +24,12 @@ void hexa_print(const char*name, unsigned char *data, int size); XBT_LOG_NEW_DEFAULT_SUBCATEGORY(gras,XBT_LOG_ROOT_CAT,"All GRAS categories (cf. section \ref GRAS_API)"); static int gras_running_process = 0; -void gras_init(int *argc,char **argv, const char *defaultlog) { +void gras_init(int *argc,char **argv) { VERB0("Initialize GRAS"); /* First initialize the XBT */ - xbt_init_defaultlog(argc,argv,defaultlog); + xbt_init(argc,argv); /* module registrations: * - declare process specific data we need (without creating them)