diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-22 16:49:25 -0200 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-22 16:49:25 -0200 |
commit | ab8110b8978cb965d49e0c2e9c1cb7e7608c185e (patch) | |
tree | ed741a1f24508a60ada67de91372465c1b6dd4db /xmore.c | |
parent | 747f76737a8e7a7f50bd06fd111e5ada8305884d (diff) |
Correct make distcheck and sparse warnings.
Diffstat (limited to 'xmore.c')
-rw-r--r-- | xmore.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -73,17 +73,17 @@ static XtActionsRec actions[] = { }; /* See xmore.h */ -XMoreResourceData userOptions; +static XMoreResourceData userOptions; #define Offset(field) XtOffsetOf(XMoreResourceData, field) -XtResource resources[] = { +static XtResource resources[] = { {"verbose", "Verbose", XtRBoolean, sizeof(Boolean), Offset(verbose), XtRImmediate, (XtPointer)False}, {"textfont", XtCFont, XtRFontSet, sizeof(XFontSet), Offset(textfont), XtRString, STANDARDFONT}, }; -String fallback_resources[] = { +static String fallback_resources[] = { #ifdef NOTYET "*iconPixmap: xmore32", "*iconMask: xmore32", @@ -174,7 +174,7 @@ int main( int argc, char *argv[] ) XtSetArg(args[n], XtNfromVert, text); n++; XtSetArg(args[n], XtNlabel, "Quit"); n++; quitbutton = XtCreateManagedWidget("quit", commandWidgetClass, form, args, n); - XtAddCallback(quitbutton, XtNcallback, quitXtProc, 0); + XtAddCallback(quitbutton, XtNcallback, quitXtProc, NULL); XtRealizeWidget(toplevel); |