snapshot: rename 'SnapShot' -> 'Snapshot'
authorBrian Norris <banorris@uci.edu>
Wed, 3 Oct 2012 18:29:01 +0000 (11:29 -0700)
committerBrian Norris <banorris@uci.edu>
Wed, 3 Oct 2012 18:45:52 +0000 (11:45 -0700)
This capitalization always messes me up

main.cc
snapshot-interface.h
snapshot.cc

diff --git a/main.cc b/main.cc
index 5b03c85c2c11f82ef308cc08464330792f617b53..300306a461bc6c4f1f9f902239bb285567d8c493 100644 (file)
--- 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);
 }
index 9912a1b78f2beba07c08b624b483c71492fd9e3a..c0db0d0c0990595beaea3f1af70933a0f97779a8 100644 (file)
@@ -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);
 
index 6d59e7be6f68cae62c018639d2deeaeb4c36d0c7..b889791d7965305c9a50ff8bdbf6e7d680b3c156 100644 (file)
@@ -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);