summaryrefslogtreecommitdiff
path: root/log.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 /log.c
parente06eddafd5f72f6f0782e37e9617c2e874021038 (diff)
Correct make distcheck and gcc/sparse warnings.
Diffstat (limited to 'log.c')
-rw-r--r--log.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/log.c b/log.c
index 179f55f..930c3f5 100644
--- a/log.c
+++ b/log.c
@@ -35,10 +35,10 @@ in this Software without prior written authorization from The Open Group.
#include <X11/Xaw/Command.h>
#include <X11/Xaw/AsciiText.h>
-Widget logPopup;
-Widget logForm;
-Widget logText;
-Widget logOkButton;
+static Widget logPopup;
+static Widget logForm;
+static Widget logText;
+static Widget logOkButton;
@@ -146,5 +146,5 @@ create_log_popup(void)
XtNright, XawChainLeft,
NULL);
- XtAddCallback (logOkButton, XtNcallback, logOkXtProc, 0);
+ XtAddCallback (logOkButton, XtNcallback, logOkXtProc, NULL);
}