# HG changeset patch # User Dave Love # Date 1037283694 0 # Node ID e5d539ae9468b1f38d1460f7f45089749db50614 # Parent 0d792a35828b5b4636f10c09467d548824244180 (x_draw_relief_rect, x_draw_box_rect, x_update_cursor): Declare all args (per C99). diff -r 0d792a35828b -r e5d539ae9468 src/xterm.c --- a/src/xterm.c Thu Nov 14 14:21:11 2002 +0000 +++ b/src/xterm.c Thu Nov 14 14:21:34 2002 +0000 @@ -3910,7 +3910,7 @@ x_draw_relief_rect (f, left_x, top_y, right_x, bottom_y, width, raised_p, left_p, right_p, clip_rect) struct frame *f; - int left_x, top_y, right_x, bottom_y, left_p, right_p, raised_p; + int left_x, top_y, right_x, bottom_y, width, left_p, right_p, raised_p; XRectangle *clip_rect; { Display *dpy = FRAME_X_DISPLAY (f); @@ -3970,7 +3970,7 @@ x_draw_box_rect (s, left_x, top_y, right_x, bottom_y, width, left_p, right_p, clip_rect) struct glyph_string *s; - int left_x, top_y, right_x, bottom_y, left_p, right_p; + int left_x, top_y, right_x, bottom_y, width, left_p, right_p; XRectangle *clip_rect; { XGCValues xgcv; @@ -11982,6 +11982,7 @@ void x_update_cursor (f, on_p) struct frame *f; + int on_p; { x_update_cursor_in_window_tree (XWINDOW (f->root_window), on_p); }