summaryrefslogtreecommitdiff
path: root/xclock.c
diff options
context:
space:
mode:
Diffstat (limited to 'xclock.c')
-rw-r--r--xclock.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/xclock.c b/xclock.c
index 7b8b287..6b80ad0 100644
--- a/xclock.c
+++ b/xclock.c
@@ -88,7 +88,7 @@ static XrmOptionDescRec options[] = {
#endif
};
-static void quit ( Widget w, XEvent *event, String *params,
+static void quit ( Widget w, XEvent *event, String *params,
Cardinal *num_params );
static XtActionsRec xclock_actions[] = {
@@ -116,14 +116,14 @@ Syntax(char *call)
exit(1);
}
-static void
+static void
die(Widget w, XtPointer client_data, XtPointer call_data)
{
XCloseDisplay(XtDisplayOfObject(w));
exit(0);
}
-static void
+static void
quit(Widget w, XEvent *event, String *params, Cardinal *num_params)
{
Arg arg;
@@ -143,7 +143,7 @@ quit(Widget w, XEvent *event, String *params, Cardinal *num_params)
}
}
-static void
+static void
save(Widget w, XtPointer client_data, XtPointer call_data)
{
XtCheckpointToken token = (XtCheckpointToken) call_data;
@@ -151,7 +151,7 @@ save(Widget w, XtPointer client_data, XtPointer call_data)
token->save_success = True;
}
-int
+int
main(int argc, char *argv[])
{
Widget toplevel;
@@ -183,7 +183,7 @@ main(int argc, char *argv[])
* This is a hack so that wm_delete_window will do something useful
* in this single-window application.
*/
- XtOverrideTranslations(toplevel,
+ XtOverrideTranslations(toplevel,
XtParseTranslationTable ("<Message>WM_PROTOCOLS: quit()"));
XtSetArg(arg, XtNiconPixmap, &icon_pixmap);
@@ -201,7 +201,7 @@ main(int argc, char *argv[])
if (icon_pixmap == None) {
arg.value = (XtArgVal)XCreateBitmapFromData(XtDisplay(toplevel),
XtScreen(toplevel)->root,
- (char *)clock_mask_bits, clock_mask_width,
+ (char *)clock_mask_bits, clock_mask_width,
clock_mask_height);
XtSetValues (toplevel, &arg, ONE);
}
@@ -222,7 +222,7 @@ main(int argc, char *argv[])
(unsigned char *) &pid, 1);
}
#endif
-
+
XtAppMainLoop (app_con);
exit(0);
}