# HG changeset patch # User Hasan Yavuz Ă–ZDERYA # Date 2015-08-13 02:26:00 # Node ID 84fd03411b6274c18577e2ee629f335e412d4409 # Parent fc52b1e1eabfe92679b1565ba9d551d9837ece9d added misssing guard defines to header files diff --git a/plot.h b/plot.h --- a/plot.h +++ b/plot.h @@ -17,6 +17,9 @@ along with serialplot. If not, see . */ +#ifndef PLOT_H +#define PLOT_H + #include #include #include "zoomer.h" @@ -46,3 +49,5 @@ public slots: private slots: void unzoomed(); }; + +#endif // PLOT_H diff --git a/utils.h b/utils.h --- a/utils.h +++ b/utils.h @@ -17,6 +17,9 @@ along with serialplot. If not, see . */ +#ifndef UTILS_H +#define UTILS_H + // credits: peppe@stackoverflow [http://stackoverflow.com/a/16795664/432492] template struct SELECT { template @@ -24,3 +27,5 @@ template struct SELECT return pmf; } }; + +#endif // UTILS_H diff --git a/version.h.in b/version.h.in --- a/version.h.in +++ b/version.h.in @@ -17,8 +17,13 @@ along with serialplot. If not, see . */ +#ifndef VERSION_H +#define VERSION_H + #define MAJOR_VERSION @MAJOR_VERSION@ #define MINOR_VERSION @MINOR_VERSION@ #define PATCH_VERSION @PATCH_VERSION@ #define VERSION_STRING "@VERSION_STRING@" #define VERSION_REVISION "@VERSION_REVISION@" + +#endif // VERSION_H