From: Rhys Kidd
Box.c:245:7: error: non-void function 'DoLayout' should return a value
[-Wreturn-type]
return;
^
Box.c:285:6: error: non-void function 'DoLayout' should return a value
[-Wreturn-type]
return;
^
Signed-off-by: Rhys Kidd
---
xts5/src/libXtTest/box.c | 2 +-
xts5/src/libXtaw/Box.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/xts5/src/libXtTest/box.c b/xts5/src/libXtTest/box.c
index 6383e59..d3674ce 100644
--- a/xts5/src/libXtTest/box.c
+++ b/xts5/src/libXtTest/box.c
@@ -182,7 +182,7 @@ WidgetClass boxWidgetClass = (WidgetClass)&boxClassRec;
*
*/
-static DoLayout(bbw, width, height, reply_width, reply_height, position)
+static void DoLayout(bbw, width, height, reply_width, reply_height, position)
BoxWidget bbw;
Dimension width, height;
Dimension *reply_width, *reply_height; /* bounding box */
diff --git a/xts5/src/libXtaw/Box.c b/xts5/src/libXtaw/Box.c
index feecbc3..d56e44d 100644
--- a/xts5/src/libXtaw/Box.c
+++ b/xts5/src/libXtaw/Box.c
@@ -196,7 +196,7 @@ WidgetClass boxWidgetClass = (WidgetClass)&boxClassRec;
*
*/
-static DoLayout(bbw, width, height, reply_width, reply_height, position)
+static void DoLayout(bbw, width, height, reply_width, reply_height, position)
BoxWidget bbw;
Dimension width, height;
Dimension *reply_width, *reply_height; /* bounding box */
--
2.9.3
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel