diff mbox

[i-g-t,03/18] stats: Add header gards

Message ID 1435417696-28115-4-git-send-email-damien.lespiau@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Lespiau, Damien June 27, 2015, 3:08 p.m. UTC
Sigh.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
---
 lib/igt_stats.h | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox

Patch

diff --git a/lib/igt_stats.h b/lib/igt_stats.h
index 371def3..0d4669e 100644
--- a/lib/igt_stats.h
+++ b/lib/igt_stats.h
@@ -22,6 +22,9 @@ 
  *
  */
 
+#ifndef __IGT_STATS_H__
+#define __IGT_STATS_H__
+
 #include <stdint.h>
 
 typedef struct {
@@ -38,3 +41,5 @@  void igt_stats_push(igt_stats_t *stats, uint64_t value);
 double igt_stats_get_mean(igt_stats_t *stats);
 double igt_stats_get_variance(igt_stats_t *stats);
 double igt_stats_get_std_deviation(igt_stats_t *stats);
+
+#endif /* __IGT_STATS_H__ */