Add reserved fields so that future features won't break the sysdep struct

and the ABI (it means that all past addition broke it).
This commit is contained in:
Benoît Dejean
2017-05-23 06:25:47 +02:00
parent ba61b54eb3
commit de6e0c1c90

View File

@@ -95,6 +95,14 @@ struct _glibtop_sysdeps
guint64 proc_wd; /* glibtop_proc_wd */
guint64 proc_affinity; /* glibtop_proc_affinity */
guint64 proc_io; /* glibtop_proc_io */
guint64 reserved0;
guint64 reserved1;
guint64 reserved2;
guint64 reserved3;
guint64 reserved4;
guint64 reserved5;
guint64 reserved6;
guint64 reserved7;
};
void glibtop_get_sysdeps (glibtop_sysdeps *buf);