diff options
author | Benoît Dejean <bdejean@gmail.com> | 2017-05-23 06:25:47 +0200 |
---|---|---|
committer | Benoît Dejean <bdejean@gmail.com> | 2017-05-23 06:25:47 +0200 |
commit | de6e0c1c90c1757b61c822e698c1c7678ced170d (patch) | |
tree | 9272b0721f1ef4b192acaeacae8894eec2b71043 | |
parent | ba61b54eb3741f00b725b90ef9c2a150fae24fd7 (diff) | |
download | libgtop-de6e0c1c90c1757b61c822e698c1c7678ced170d.tar.gz |
Add reserved fields so that future features won't break the sysdep struct
and the ABI (it means that all past addition broke it).
-rw-r--r-- | include/glibtop/sysdeps.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/glibtop/sysdeps.h b/include/glibtop/sysdeps.h index 6b5682df..a18c69e6 100644 --- a/include/glibtop/sysdeps.h +++ b/include/glibtop/sysdeps.h @@ -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); |