aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2014-09-26 14:30:07 +0000
committerDimitri Sokolyuk <demon@dim13.org>2014-09-26 14:30:07 +0000
commit84a554f9511fe86728d62b93e609491b77ccda08 (patch)
tree7766bef01dd7ee22594481202cfc3e120a874303
parent171973ded5c66b6f73bcf7367dc3c586affbc2db (diff)
as with C99 there is no need for padding
-rw-r--r--BarDisplay.c14
-rw-r--r--GraphDisplay.c14
2 files changed, 0 insertions, 28 deletions
diff --git a/BarDisplay.c b/BarDisplay.c
index e079f8f..a54b885 100644
--- a/BarDisplay.c
+++ b/BarDisplay.c
@@ -34,29 +34,15 @@ BarDisplayClassRec barDisplayClassRec = {
.class_inited = False,
.initialize = Initialize,
.initialize_hook = NULL,
- .obj1 = NULL,
- .obj2 = NULL,
- .obj3 = 0,
.resources = resources,
.num_resources = XtNumber(resources),
.xrm_class = NULLQUARK,
- .obj4 = 0,
- .obj5 = 0,
- .obj6 = 0,
- .obj7 = 0,
.destroy = NULL,
- .obj8 = NULL,
- .obj9 = NULL,
.set_values = SetValues,
.set_values_hook = NULL,
- .obj10 = NULL,
.get_values_hook = NULL,
- .obj11 = NULL,
.version = XtVersion,
.callback_private = NULL,
- .obj12 = NULL,
- .obj13 = NULL,
- .obj14 = NULL,
.extension = NULL,
},
.graphDisplay_class = {
diff --git a/GraphDisplay.c b/GraphDisplay.c
index 3b0d582..c6a953f 100644
--- a/GraphDisplay.c
+++ b/GraphDisplay.c
@@ -28,29 +28,15 @@ GraphDisplayClassRec graphDisplayClassRec = {
.class_inited = False,
.initialize = Initialize,
.initialize_hook = NULL,
- .obj1 = NULL,
- .obj2 = NULL,
- .obj3 = 0,
.resources = resources,
.num_resources = XtNumber(resources),
.xrm_class = NULLQUARK,
- .obj4 = 0,
- .obj5 = 0,
- .obj6 = 0,
- .obj7 = 0,
.destroy = Destroy,
- .obj8 = 0,
- .obj9 = 0,
.set_values = SetValues,
.set_values_hook = NULL,
- .obj10 = NULL,
.get_values_hook = NULL,
- .obj11 = NULL,
.version = XtVersion,
.callback_private = NULL,
- .obj12 = NULL,
- .obj13 = NULL,
- .obj14 = NULL,
.extension = NULL,
},
.graphDisplay_class = {