summaryrefslogtreecommitdiff
blob: 5d455887c04ffeacf5d61da9f7471a77b057c3b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
diff --git a/src/lib/stats.c b/src/lib/stats.c
index 8d0d87b8b..725986268 100644
--- a/src/lib/stats.c
+++ b/src/lib/stats.c
@@ -50,7 +50,7 @@ enum statx_magic { STATX_MAGIC = 0x560044e5 };
 /**
  * A one-dimension container (x).
  */
-struct statx {
+struct statistics {
 	enum statx_magic magic;	/**< Magic number */
 	elist_t data;			/**< Data points */
 	long n;					/**< Amount of data points */
@@ -60,7 +60,7 @@ struct statx {
 };
 
 static inline void
-statx_check(const struct statx * const sx)
+statx_check(const struct statistics * const sx)
 {
 	g_assert(sx != NULL);
 	g_assert(STATX_MAGIC == sx->magic);
diff --git a/src/lib/stats.h b/src/lib/stats.h
index ba876467c..2a67952e2 100644
--- a/src/lib/stats.h
+++ b/src/lib/stats.h
@@ -40,9 +40,9 @@
  * One dimension statistics.
  */
 
-struct statx;
+struct statistics;
 
-typedef struct statx statx_t;
+typedef struct statistics statx_t;
 
 statx_t *statx_make(void);
 statx_t *statx_make_nodata(void);