summaryrefslogtreecommitdiff
path: root/choose.c
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-26 19:12:30 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-26 19:12:30 -0200
commit396f6dbb94447d2314a064f3384bae4c9f3dca01 (patch)
tree82d41b5a264985a297e6d90bb4b2fdd8d2df43ec /choose.c
parente06eddafd5f72f6f0782e37e9617c2e874021038 (diff)
Correct make distcheck and gcc/sparse warnings.
Diffstat (limited to 'choose.c')
-rw-r--r--choose.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/choose.c b/choose.c
index e1711f9..c2a0c34 100644
--- a/choose.c
+++ b/choose.c
@@ -59,16 +59,16 @@ static Pixel save_message_background;
static int delete_session_phase = 0;
static int break_lock_phase = 0;
-Widget chooseSessionPopup;
-Widget chooseSessionForm;
-Widget chooseSessionLabel;
-Widget chooseSessionListWidget;
-Widget chooseSessionMessageLabel;
-Widget chooseSessionLoadButton;
-Widget chooseSessionDeleteButton;
-Widget chooseSessionBreakLockButton;
-Widget chooseSessionFailSafeButton;
-Widget chooseSessionCancelButton;
+static Widget chooseSessionPopup;
+static Widget chooseSessionForm;
+static Widget chooseSessionLabel;
+static Widget chooseSessionListWidget;
+static Widget chooseSessionMessageLabel;
+static Widget chooseSessionLoadButton;
+static Widget chooseSessionDeleteButton;
+static Widget chooseSessionBreakLockButton;
+static Widget chooseSessionFailSafeButton;
+static Widget chooseSessionCancelButton;
@@ -736,7 +736,7 @@ create_choose_session_popup(void)
NULL);
XtAddCallback (chooseSessionLoadButton, XtNcallback,
- ChooseSessionLoadXtProc, 0);
+ ChooseSessionLoadXtProc, NULL);
chooseSessionDeleteButton = XtVaCreateManagedWidget (
"chooseSessionDeleteButton", commandWidgetClass, chooseSessionForm,
@@ -745,7 +745,7 @@ create_choose_session_popup(void)
NULL);
XtAddCallback (chooseSessionDeleteButton, XtNcallback,
- ChooseSessionDeleteXtProc, 0);
+ ChooseSessionDeleteXtProc, NULL);
chooseSessionBreakLockButton = XtVaCreateManagedWidget (
"chooseSessionBreakLockButton",
@@ -755,7 +755,7 @@ create_choose_session_popup(void)
NULL);
XtAddCallback (chooseSessionBreakLockButton, XtNcallback,
- ChooseSessionBreakLockXtProc, 0);
+ ChooseSessionBreakLockXtProc, NULL);
chooseSessionFailSafeButton = XtVaCreateManagedWidget (
"chooseSessionFailSafeButton", commandWidgetClass, chooseSessionForm,
@@ -764,7 +764,7 @@ create_choose_session_popup(void)
NULL);
XtAddCallback (chooseSessionFailSafeButton, XtNcallback,
- ChooseSessionFailSafeXtProc, 0);
+ ChooseSessionFailSafeXtProc, NULL);
chooseSessionCancelButton = XtVaCreateManagedWidget (
@@ -774,7 +774,7 @@ create_choose_session_popup(void)
NULL);
XtAddCallback (chooseSessionCancelButton, XtNcallback,
- ChooseSessionCancelXtProc, 0);
+ ChooseSessionCancelXtProc, NULL);
XtAppAddActions (appContext, choose_actions, XtNumber (choose_actions));