Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
If it is a win plateform we have to use wenvironment against environment.
[simgrid.git] / src / gras / gras.c
index f718ca1..9e826f7 100644 (file)
@@ -1,9 +1,7 @@
-/* $Id$ */
-
 /* gras.c -- generic functions not fitting anywhere else                    */
 
-/* Copyright (c) 2003, 2004 Martin Quinson.                                 */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
@@ -150,7 +148,7 @@ void gras_exit(void)
   amok_exit();
   gras_moddata_leave();
   pd = gras_procdata_get();
-  gras_msg_listener_shutdown(pd->listener);
+  gras_msg_listener_shutdown();
   gras_process_exit();
   if (--gras_running_process == 0) {
     gras_msg_exit();
@@ -159,7 +157,6 @@ void gras_exit(void)
     gras_emul_exit();
     gras_moddata_exit();
   }
-  xbt_exit();
 }
 
 const char *hexa_str(unsigned char *data, int size, int downside)