mymemory/snapshot: rearrange snapshot implementation
[model-checker.git] / snapshot.h
index 76d63acfb00d7e994a4e4ab8ac2452f5a12d5617..8d37934b81be0504caa7ed7f8b93df4addc24c23 100644 (file)
@@ -7,13 +7,14 @@
 
 #include "snapshot-interface.h"
 #include "config.h"
+#include "mymemory.h"
 
 void addMemoryRegionToSnapShot(void *ptr, unsigned int numPages);
 snapshot_id takeSnapshot();
 void rollBack(snapshot_id theSnapShot);
 
 #if !USE_MPROTECT_SNAPSHOT
-void createSharedMemory();
+mspace create_shared_mspace();
 #endif
 
 #endif