From ebebe8c4d739b4facc4d4c294dfb90367eb43cc8 Mon Sep 17 00:00:00 2001
From: Brian Norris <banorris@uci.edu>
Date: Tue, 29 May 2012 23:29:06 -0700
Subject: [PATCH] snapshot: rename MyFuncPtr to VoidFuncPtr

Better descriptive name.
---
 snapshot.cc | 4 +++-
 snapshot.h  | 8 +++++---
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/snapshot.cc b/snapshot.cc
index ff9fd56..7cea7d6 100644
--- a/snapshot.cc
+++ b/snapshot.cc
@@ -120,7 +120,9 @@ extern "C" {
 #ifdef __cplusplus
 }
 #endif
-void initSnapShotLibrary(unsigned int numbackingpages, unsigned int numsnapshots, unsigned int nummemoryregions, unsigned int numheappages, MyFuncPtr entryPoint){
+void initSnapShotLibrary(unsigned int numbackingpages,
+		unsigned int numsnapshots, unsigned int nummemoryregions,
+		unsigned int numheappages, VoidFuncPtr entryPoint) {
 #if USE_MPROTECT_SNAPSHOT
 	/* Setup a stack for our signal handler....  */
 	stack_t ss;
diff --git a/snapshot.h b/snapshot.h
index 53f97ba..af0130f 100644
--- a/snapshot.h
+++ b/snapshot.h
@@ -9,10 +9,12 @@
 /* Size of signal stack */
 #define SIGSTACKSIZE 16384
 
-
 typedef unsigned int snapshot_id;
-typedef void (*MyFuncPtr)();
-void initSnapShotLibrary(unsigned int numbackingpages, unsigned int numsnapshots, unsigned int nummemoryregions, unsigned int numheappages, MyFuncPtr entryPoint);
+
+typedef void (*VoidFuncPtr)();
+void initSnapShotLibrary(unsigned int numbackingpages,
+		unsigned int numsnapshots, unsigned int nummemoryregions,
+		unsigned int numheappages, VoidFuncPtr entryPoint);
 
 void addMemoryRegionToSnapShot( void * ptr, unsigned int numPages );
 
-- 
2.34.1