[atomix] Added include guards to clock



commit f79dbb2319f0aa5cd7df9aa0b97161acba138263
Author: Robert Roth <robert roth off gmail com>
Date:   Mon Mar 30 17:38:11 2015 +0300

    Added include guards to clock

 src/clock.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/clock.h b/src/clock.h
index cd4838e..61b4d63 100644
--- a/src/clock.h
+++ b/src/clock.h
@@ -16,6 +16,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
+#ifndef _ATOMIX_CLOCK_H_
+#define _ATOMIX_CLOCK_H_
+
 #include <time.h>
 #include <gtk/gtk.h>
 
@@ -49,3 +52,5 @@ void clock_start (Clock *);
 void clock_stop (Clock *);
 
 G_END_DECLS
+
+#endif /* _ATOMIX_CLOCK_H_ */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]