From a3f05670b26d1b645b8d2d6649f70cc1d2a6733b Mon Sep 17 00:00:00 2001 From: Brian Norris Date: Wed, 13 Jun 2012 22:08:57 -0700 Subject: [PATCH] snapshot: move comments to the right place --- snapshot.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/snapshot.cc b/snapshot.cc index afe02ef..378f53b 100644 --- a/snapshot.cc +++ b/snapshot.cc @@ -17,8 +17,9 @@ #include #include -//extern declaration definition #define FAILURE(mesg) { printf("failed in the API: %s with errno relative message: %s\n", mesg, strerror( errno ) ); exit(EXIT_FAILURE); } + +/* extern declaration definition */ #if USE_MPROTECT_SNAPSHOT struct SnapShot * snapshotrecord = NULL; struct Snapshot_t * sTheRecord = NULL; @@ -42,7 +43,7 @@ static ucontext_t savedSnapshotContext; static ucontext_t savedUserSnapshotContext; static snapshot_id snapshotid = 0; #endif -/* Initialize snapshot data structure */ + #if USE_MPROTECT_SNAPSHOT /** The initSnapShotRecord method initialized the snapshotting data -- 2.34.1