[libgtop] Add reserved fields so that future features won't break the sysdep struct and the ABI (it means that
- From: Benoît Dejean <bdejean src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgtop] Add reserved fields so that future features won't break the sysdep struct and the ABI (it means that
- Date: Tue, 23 May 2017 05:01:24 +0000 (UTC)
commit de6e0c1c90c1757b61c822e698c1c7678ced170d
Author: Benoît Dejean <bdejean gmail com>
Date: Tue May 23 06:25:47 2017 +0200
Add reserved fields so that future features won't break the sysdep struct
and the ABI (it means that all past addition broke it).
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 6b5682d..a18c69e 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]