Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill defaultlog and gras/core.h
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 27 Jun 2005 22:23:46 +0000 (22:23 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 27 Jun 2005 22:23:46 +0000 (22:23 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1433 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/gras/gras.c

index 138456f..0e98297 100644 (file)
@@ -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)