Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Indent include and src using this command:
[simgrid.git] / src / mc / mc_checkpoint.c
index 5abffda..de1ec3a 100644 (file)
@@ -1,23 +1,23 @@
 #include "private.h"
 
 void MC_take_snapshot(mc_snapshot_t snapshot)
-{  
+{
 /* Save the heap! */
-       snapshot->heap_size = MC_save_heap(&(snapshot->heap));    
+  snapshot->heap_size = MC_save_heap(&(snapshot->heap));
 
 /* Save data and bss that */
   snapshot->data_size = MC_save_dataseg(&(snapshot->data));
 }
 
 void MC_restore_snapshot(mc_snapshot_t snapshot)
-{ 
+{
   MC_restore_heap(snapshot->heap, snapshot->heap_size);
-  MC_restore_dataseg(snapshot->data, snapshot->data_size);  
+  MC_restore_dataseg(snapshot->data, snapshot->data_size);
 }
 
 void MC_free_snapshot(mc_snapshot_t snapshot)
 {
   xbt_free(snapshot->heap);
   xbt_free(snapshot->data);
-  xbt_free(snapshot);   
+  xbt_free(snapshot);
 }