diff options
Diffstat (limited to 'statx.patch')
-rw-r--r-- | statx.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/statx.patch b/statx.patch new file mode 100644 index 000000000000..afc4d6a8864e --- /dev/null +++ b/statx.patch @@ -0,0 +1,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); |