diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-03-16 18:44:12 -0300 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-11-28 04:19:17 -0200 |
commit | 0436471fd8007826d40a2f57710e9964c0768d50 (patch) | |
tree | 55c9523445967d19599582e062e7b5ad4c6121d4 /xload.c | |
parent | b91f8e903b1004a35dfe01204852c628367475b7 (diff) |
Compile warning fixes.
Ansify some functions with K&R definitions.
Diffstat (limited to 'xload.c')
-rw-r--r-- | xload.c | 13 |
1 files changed, 3 insertions, 10 deletions
@@ -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) { |