SnapshotGlobalSegments() is only used within snapshot-interface.cc, so declare
it static and remove it from the header.
* that may contain globals and then configures the snapshotting
* library to snapshot them.
*/
-
-void SnapshotGlobalSegments(){
+static void SnapshotGlobalSegments(){
int pid = getpid();
char buf[9000], execname[100];
FILE *map;
* that may contain globals and then configures the snapshotting
* library to snapshot them.
*/
-void SnapshotGlobalSegments(){
+static void SnapshotGlobalSegments(){
int pid = getpid();
char buf[9000], filename[100];
FILE *map;
unsigned int numheappages, VoidFuncPtr entryPoint);
void finalize();
-void SnapshotGlobalSegments();
-
struct stackEntry {
struct stackEntry *next;
snapshot_id snapshotid;