summaryrefslogtreecommitdiff
path: root/app/xbiff/xbiff.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2010-03-28 07:58:33 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2010-03-28 07:58:33 +0000
commit10319c28fabd87b6360b22d20e4ac8dc763fe94e (patch)
treef7c7985e1ebee669d5a196dfc47f0501dac7ad1a /app/xbiff/xbiff.c
parentb3d743fcef4320c3231a770bc390fe6a58af3c68 (diff)
Update to xbiff 1.0.2
Diffstat (limited to 'app/xbiff/xbiff.c')
-rw-r--r--app/xbiff/xbiff.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/app/xbiff/xbiff.c b/app/xbiff/xbiff.c
index ac736080d..a5ecdeff9 100644
--- a/app/xbiff/xbiff.c
+++ b/app/xbiff/xbiff.c
@@ -38,7 +38,7 @@ from the X Consortium.
#include "Mailbox.h"
#include <X11/Xaw/Cardinals.h>
-const char *ProgramName;
+static const char *ProgramName;
static XrmOptionDescRec options[] = {
{ "-update", "*mailbox.update", XrmoptionSepArg, (caddr_t) NULL },
@@ -49,11 +49,7 @@ static XrmOptionDescRec options[] = {
static Atom wm_delete_window;
-static void quit (w, event, params, num_params)
- Widget w;
- XEvent *event;
- String *params;
- Cardinal *num_params;
+static void quit (Widget w, XEvent *event, String *params, Cardinal *num_params)
{
if (event->type == ClientMessage &&
event->xclient.data.l[0] != wm_delete_window) {
@@ -68,7 +64,7 @@ static XtActionsRec xbiff_actions[] = {
{ "quit", quit },
};
-static void Usage ()
+static void Usage (void)
{
static const char *help_message[] = {
"where options include:",
@@ -93,9 +89,7 @@ NULL};
int
-main (argc, argv)
- int argc;
- char **argv;
+main (int argc, char **argv)
{
XtAppContext xtcontext;
Widget toplevel;