summaryrefslogtreecommitdiff
path: root/xload.c
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-03-16 18:44:12 -0300
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-11-28 04:19:17 -0200
commit0436471fd8007826d40a2f57710e9964c0768d50 (patch)
tree55c9523445967d19599582e062e7b5ad4c6121d4 /xload.c
parentb91f8e903b1004a35dfe01204852c628367475b7 (diff)
Compile warning fixes.
Ansify some functions with K&R definitions.
Diffstat (limited to 'xload.c')
-rw-r--r--xload.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/xload.c b/xload.c
index 2dc1cb3..b7dea0c 100644
--- a/xload.c
+++ b/xload.c
@@ -270,8 +270,7 @@ main(int argc, char **argv)
static unsigned long current_leds;
static void
-ClearLights (dpy)
- Display *dpy;
+ClearLights (Display *dpy)
{
XKeyboardControl cntrl;
@@ -281,9 +280,7 @@ ClearLights (dpy)
}
static void
-SetLights (data, timer)
- XtPointer data;
- XtIntervalId *timer;
+SetLights (XtPointer data, XtIntervalId *timer)
{
Widget toplevel;
Display *dpy;
@@ -318,11 +315,7 @@ SetLights (data, timer)
SetLights, data);
}
-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) {