Logo AND Algorithmique Numérique Distribuée

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

examples/gras/chrono/chrono.c
examples/gras/chrono/chrono2.c
examples/gras/ping/ping.c
examples/gras/timer/timer.c
examples/gras/tokenS/tokenS.c
include/xbt/module.h
src/xbt_modinter.h

index 0c889c8..74c3c34 100644 (file)
@@ -24,7 +24,7 @@ int multiplier (int argc,char *argv[])
   double start = 0.0;
   double now = 0.0;
 
-  gras_init(&argc, argv, NULL);
+  gras_init(&argc, argv);
 
   A = malloc(n*n*sizeof(double));
   B = malloc(n*n*sizeof(double));
index 147fb4e..329a987 100644 (file)
@@ -67,7 +67,7 @@ static int mat_mult(int n)
 
 int multiplier (int argc,char *argv[])
 {
-  gras_init(&argc, argv, NULL);
+  gras_init(&argc, argv);
 
   mat_mult(10);
   mat_mult(20);
index d16269f..eb98466 100644 (file)
@@ -80,7 +80,7 @@ int server (int argc,char *argv[]) {
   int port = 4000;
   
   /* 1. Init the GRAS infrastructure and declare my globals */
-  gras_init(&argc,argv, NULL);
+  gras_init(&argc,argv);
   globals=gras_userdata_new(server_data_t);
    
   /* 2. Get the port I should listen on from the command line, if specified */
@@ -143,7 +143,7 @@ int client(int argc,char *argv[]) {
         int   port = 4000;
 
   /* 1. Init the GRAS's infrastructure */
-  gras_init(&argc, argv, NULL);
+  gras_init(&argc, argv);
    
   /* 2. Get the server's address. The command line override defaults when specified */
   if (argc == 3) {
index 5aeb4ec..8de543f 100644 (file)
@@ -55,7 +55,7 @@ int client(int argc,char *argv[]) {
   int cpt;
   my_globals *globals;
 
-  gras_init(&argc,argv,NULL);
+  gras_init(&argc,argv);
   globals=gras_userdata_new(my_globals);
   globals->still_to_do = -1;
 
index 69b6327..8cf9cf1 100644 (file)
@@ -112,7 +112,7 @@ int node (int argc,char *argv[]) {
   
   
   /* 1. Init the GRAS infrastructure and declare my globals */
-  gras_init(&argc,argv, NULL);
+  gras_init(&argc,argv);
   globals=gras_userdata_new(node_data_t);
   
   
@@ -209,6 +209,5 @@ int node (int argc,char *argv[]) {
   free(globals);
   gras_exit();
   
-  INFO0("Done");
   return no_error;
 } /* end_of_node */
index 7b813a5..bc49ea4 100644 (file)
@@ -16,6 +16,5 @@ typedef xbt_module_t (*xbt_module_new_fct_t)(int argc, char **argv);
 typedef int (*xbt_module_finalize_fct_t)(void);
 
 void xbt_init(int *argc,char **argv);
-void xbt_init_defaultlog(int *argc,char **argv, const char *defaultlog);
 void xbt_exit(void);
 #endif /* _XBT_MODULE_H */
index d678773..be50703 100644 (file)
@@ -11,7 +11,7 @@
 #define XBT_MODINTER_H
 
 /* Modules definitions */
-void xbt_log_init(int *argc,char **argv, const char *defaultlog);
+void xbt_log_init(int *argc,char **argv);
 void xbt_log_exit(void);
 
 #endif /* XBT_MODINTER_H */