blob: afc4d6a8864e17a89ad9f8986ab0421276e3ab89 (
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
|
diff -uar a/src/lib/stats.c b/src/lib/stats.c
--- a/src/lib/stats.c 2018-10-04 15:42:02.000000000 -0400
+++ b/src/lib/stats.c 2018-11-25 20:56:18.199210948 -0500
@@ -50,7 +50,7 @@
/**
* A one-dimension container (x).
*/
-struct statx {
+struct statx_gnutella {
enum statx_magic magic; /**< Magic number */
elist_t data; /**< Data points */
long n; /**< Amount of data points */
@@ -60,7 +60,7 @@
};
static inline void
-statx_check(const struct statx * const sx)
+statx_check(const struct statx_gnutella * const sx)
{
g_assert(sx != NULL);
g_assert(STATX_MAGIC == sx->magic);
diff -uar a/src/lib/stats.h b/src/lib/stats.h
--- a/src/lib/stats.h 2018-10-04 15:42:02.000000000 -0400
+++ b/src/lib/stats.h 2018-11-25 20:55:37.345631532 -0500
@@ -40,9 +40,9 @@
* One dimension statistics.
*/
-struct statx;
+struct statx_gnutella;
-typedef struct statx statx_t;
+typedef struct statx_gnutella statx_t;
statx_t *statx_make(void);
statx_t *statx_make_nodata(void);
|