X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=snapshotimp.h;h=0560203f1dc8e358312d9b3cfc30040e4a6fb225;hb=b35625b0499717b3caab5344d7278a31fbee9cb6;hp=2e4929d0477e4605cd5363fb86266cd054d1f3fe;hpb=a330e8dbc94f534876cc35b1d9d1b1c06d83a437;p=c11tester.git diff --git a/snapshotimp.h b/snapshotimp.h index 2e4929d0..0560203f 100644 --- a/snapshotimp.h +++ b/snapshotimp.h @@ -2,15 +2,13 @@ * @brief Snapshotting implementation header file.. */ -#ifndef _SNAPSHOTIMP_H -#define _SNAPSHOTIMP_H +#ifndef __SNAPSHOTIMP_H__ +#define __SNAPSHOTIMP_H__ + +#include + #include "snapshot.h" -#include -#include -#include -#include -#include -#include + #define SHARED_MEMORY_DEFAULT (100 * ((size_t)1 << 20)) // 100mb for the shared memory #define STACK_SIZE_DEFAULT (((size_t)1 << 20) * 20) // 20 mb out of the above 100 mb for my stack @@ -54,6 +52,9 @@ struct SnapShot { }; #else + +#include + struct SnapShot { void *mSharedMemoryBase; void *mStackBase; @@ -66,4 +67,5 @@ struct SnapShot { //Global reference to snapshot data structure extern struct SnapShot * snapshotrecord; -#endif + +#endif /* __SNAPSHOTIMP_H__ */