From: Brian Norris <banorris@uci.edu>
Date: Wed, 3 Oct 2012 18:29:01 +0000 (-0700)
Subject: snapshot: rename 'SnapShot' -> 'Snapshot'
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f767539fdf7a145b4208be0c30d2fa1aa095e6db;p=c11tester.git

snapshot: rename 'SnapShot' -> 'Snapshot'

This capitalization always messes me up
---

diff --git a/main.cc b/main.cc
index 5b03c85c..300306a4 100644
--- a/main.cc
+++ b/main.cc
@@ -117,5 +117,5 @@ int main(int argc, char ** argv) {
 	main_argv = argv;
 
 	/* Let's jump in quickly and start running stuff */
-	initSnapShotLibrary(10000, 1024, 1024, 4000, &real_main);
+	initSnapshotLibrary(10000, 1024, 1024, 4000, &real_main);
 }
diff --git a/snapshot-interface.h b/snapshot-interface.h
index 9912a1b7..c0db0d0c 100644
--- a/snapshot-interface.h
+++ b/snapshot-interface.h
@@ -10,7 +10,7 @@
 typedef unsigned int snapshot_id;
 
 typedef void (*VoidFuncPtr)();
-void initSnapShotLibrary(unsigned int numbackingpages,
+void initSnapshotLibrary(unsigned int numbackingpages,
 		unsigned int numsnapshots, unsigned int nummemoryregions,
 		unsigned int numheappages, VoidFuncPtr entryPoint);
 
diff --git a/snapshot.cc b/snapshot.cc
index 6d59e7be..b889791d 100644
--- a/snapshot.cc
+++ b/snapshot.cc
@@ -129,12 +129,12 @@ void createSharedMemory(){
 #endif
 
 
-/** The initSnapShotLibrary function initializes the Snapshot library.
+/** The initSnapshotLibrary function initializes the snapshot library.
  *  @param entryPoint the function that should run the program.
  */
 #if USE_MPROTECT_SNAPSHOT
 
-void initSnapShotLibrary(unsigned int numbackingpages,
+void initSnapshotLibrary(unsigned int numbackingpages,
 		unsigned int numsnapshots, unsigned int nummemoryregions,
 		unsigned int numheappages, VoidFuncPtr entryPoint) {
 	/* Setup a stack for our signal handler....  */
@@ -178,7 +178,7 @@ void initSnapShotLibrary(unsigned int numbackingpages,
 	entryPoint();
 }
 #else
-void initSnapShotLibrary(unsigned int numbackingpages,
+void initSnapshotLibrary(unsigned int numbackingpages,
 		unsigned int numsnapshots, unsigned int nummemoryregions,
 		unsigned int numheappages, VoidFuncPtr entryPoint) {
 	basemySpace=system_malloc((numheappages+1)*PAGESIZE);