summaryrefslogtreecommitdiff
path: root/xmore.c
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-22 16:49:25 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-22 16:49:25 -0200
commitab8110b8978cb965d49e0c2e9c1cb7e7608c185e (patch)
treeed741a1f24508a60ada67de91372465c1b6dd4db /xmore.c
parent747f76737a8e7a7f50bd06fd111e5ada8305884d (diff)
Correct make distcheck and sparse warnings.
Diffstat (limited to 'xmore.c')
-rw-r--r--xmore.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmore.c b/xmore.c
index ff8c299..ed6be29 100644
--- a/xmore.c
+++ b/xmore.c
@@ -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);