diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-30 18:22:10 -0200 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-30 18:22:10 -0200 |
commit | f56a69f2cf7df1e7cdf2494c5408786e53467374 (patch) | |
tree | c2b4d72f8bd8af0de6efdccd7ae8e3028c654d08 /src/Composite.c | |
parent | c1f227f94aec6f4555182965fc0d2d8f33fef01f (diff) |
Janitor: ansification, make distcheck, compiler warnings, .gitignore.
Most "compiler" warnings were actually sparse warnings, due to
assigning a integer to a pointer, or an external symbol without
a previous declaration.
Diffstat (limited to 'src/Composite.c')
-rw-r--r-- | src/Composite.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Composite.c b/src/Composite.c index 7a90975..c5fbf12 100644 --- a/src/Composite.c +++ b/src/Composite.c @@ -60,7 +60,6 @@ in this Software without prior written authorization from The Open Group. */ /* $XFree86: xc/lib/Xt/Composite.c,v 1.5 2001/08/22 22:52:17 dawes Exp $ */ -#define XT_COMPOSITE #ifdef HAVE_CONFIG_H #include <config.h> #endif @@ -71,7 +70,7 @@ static XtResource resources[] = { {XtNchildren, XtCReadOnly, XtRWidgetList, sizeof(WidgetList), XtOffsetOf(CompositeRec, composite.children), XtRImmediate, NULL}, {XtNnumChildren, XtCReadOnly, XtRCardinal, sizeof(Cardinal), - XtOffsetOf(CompositeRec, composite.num_children), XtRImmediate, 0}, + XtOffsetOf(CompositeRec, composite.num_children), XtRImmediate, NULL}, {XtNinsertPosition, XtCInsertPosition, XtRFunction, sizeof(XtOrderProc), XtOffsetOf(CompositeRec, composite.insert_position), XtRImmediate, NULL}, }; |