SFentryWidth, SFentryHeight);
}
-static unsigned long SFscrollTimerInterval()
+static unsigned long SFscrollTimerInterval(void)
{
static int maxVal = 200;
static int varyDist = 50;
SFpathSliderMovedCallback(w, (XtPointer) NULL, &f);
}
-Boolean SFworkProc()
+Boolean SFworkProc(void)
{
register SFDir *dir;
register SFEntry *entry;
";
/* ARGSUSED */
-static void SFexposeList(w, n, event, cont)
-Widget w;
-XtPointer n;
-XEvent *event;
-Boolean *cont;
+static void SFexposeList(Widget w, XtPointer n, XEvent *event, Boolean *cont)
{
if ((event->type == NoExpose) || event->xexpose.count) {
return;
}
/* ARGSUSED */
-static void SFmodVerifyCallback(w, client_data, event, cont)
-Widget w;
-XtPointer client_data;
-XEvent *event;
-Boolean *cont;
+static void SFmodVerifyCallback(Widget w, XtPointer client_data, XEvent *event, Boolean *cont)
{
char buf[2];
}
/* ARGSUSED */
-static void SFokCallback(w, cl, cd)
-Widget w;
-XtPointer cl, cd;
+static void SFokCallback(Widget w, XtPointer cl, XtPointer cd)
{
SFstatus = SEL_FILE_OK;
}
};
/* ARGSUSED */
-static void SFcancelCallback(w, cl, cd)
-Widget w;
-XtPointer cl, cd;
+static void SFcancelCallback(Widget w, XtPointer cl, XtPointer cd)
{
SFstatus = SEL_FILE_CANCEL;
}
};
/* ARGSUSED */
-static void SFdismissAction(w, event, params, num_params)
-Widget w;
-XEvent *event;
-String *params;
-Cardinal *num_params;
+static void SFdismissAction(Widget w, XEvent *event, String *params, Cardinal *num_params)
{
if (event->type == ClientMessage &&
event->xclient.data.l[0] != SFwmDeleteWindow)
{"SelFileDismiss", SFdismissAction},
};
-static void SFcreateWidgets(toplevel, prompt, ok, cancel)
-Widget toplevel;
-char *prompt;
-char *ok;
-char *cancel;
+static void SFcreateWidgets(Widget toplevel, char *prompt, char *ok, char *cancel)
{
Cardinal i;
long n;
}
/* position widget under the cursor */
-void SFpositionWidget(w)
-Widget w;
+void SFpositionWidget(Widget w)
{
Arg args[3];
Cardinal num_args;
}
#endif
-static void SFprepareToReturn()
+static void SFprepareToReturn(void)
{
SFstatus = SEL_FILE_NULL;
XtRemoveGrab(selFile);