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

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

 



Sigh.

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

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__ */
-- 
2.1.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux