libXaw3d: Changes to 'master'
Jeremy Huddleston
jeremyhu at kemper.freedesktop.org
Sun Jan 22 12:01:35 PST 2012
src/Box.c | 4 ++--
src/Form.c | 6 +++---
src/Tip.c | 2 ++
src/Viewport.c | 20 ++++++++++----------
4 files changed, 17 insertions(+), 15 deletions(-)
New commits:
commit 702e4ff9f5fbfae4aecba09f8c735dc97bac1b59
Author: Jeremy Huddleston <jeremyhu at apple.com>
Date: Sun Jan 22 11:58:09 2012 -0800
Cleanup shadow declarations
Box.c:265:10: warning: declaration shadows a local variable [-Wshadow]
int i = bbw->composite.num_children;
^
Box.c:166:15: note: previous declaration is here
Cardinal i;
^
1 warning generated.
Form.c:809:9: warning: declaration shadows a local variable [-Wshadow]
Widget w = *childP;
^
Form.c:793:24: note: previous declaration is here
XawFormDoLayout(Widget w,
^
1 warning generated.
Viewport.c:627:24: warning: declaration shadows a local variable [-Wshadow]
if (!needshoriz) CheckHoriz();
^
Viewport.c:605:14: note: expanded from macro 'CheckHoriz'
Widget bar = w->viewport.horiz_bar; \
^
Viewport.c:620:14: note: previous declaration is here
Widget bar = w->viewport.vert_bar;
^
1 warning generated.
Signed-off-by: Jeremy Huddleston <jeremyhu at apple.com>
commit d31153b30abd26c3f65e19d126ce4a3542cf14c0
Author: Jeremy Huddleston <jeremyhu at apple.com>
Date: Sun Jan 22 11:55:29 2012 -0800
Include <stdlib.h> for abs()
Tip.c:336:9: error: implicit declaration of function 'abs' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ksy += abs(ext->max_ink_extent.y);
^
1 error generated.
Signed-off-by: Jeremy Huddleston <jeremyhu at apple.com>
More information about the xorg-commit
mailing list