Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : keep MC_request_to_string in std heap
[simgrid.git] / src / mc / mc_state.c
index 6c3b927..822d17a 100644 (file)
@@ -1,4 +1,7 @@
+/* Copyright (c) 2008-2012 Da 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 "../simix/smx_private.h"
 #include "xbt/fifo.h"
 /**
  * \brief Creates a state data structure used by the exploration algorithm
  */
-mc_state_t MC_state_new(void)
+mc_state_t MC_state_new()
 {
   mc_state_t state = NULL;
   
   state = xbt_new0(s_mc_state_t, 1);
   state->max_pid = simix_process_maxpid;
   state->proc_status = xbt_new0(s_mc_procstate_t, state->max_pid);
-  
+  state->system_state = NULL;
+
   mc_stats->expanded_states++;
   return state;
 }