# HG changeset patch # User Karl Heuer # Date 801412098 0 # Node ID 562835b1906785b1ce8b72c90419ffc17a1fb857 # Parent 3f93d95cf9a0bddab9f6146dfd891330d596d5c4 (message): Cast arg of doprnt. (scroll_bottom_vpos, fmodetrunc): Declarations deleted. diff -r 3f93d95cf9a0 -r 562835b19067 src/xdisp.c --- a/src/xdisp.c Wed May 24 22:46:18 1995 +0000 +++ b/src/xdisp.c Thu May 25 14:28:18 1995 +0000 @@ -77,11 +77,6 @@ /* Buffer that this_line variables are describing. */ static struct buffer *this_line_buffer; -/* Set by try_window_id to the vpos of first of any lines - scrolled on to the bottom of the frame. These lines should - not be included in any general scroll computation. */ -static int scroll_bottom_vpos; - /* Value of echo_area_glyphs when it was last acted on. If this is nonzero, there is a message on the frame in the minibuffer and it should be erased as soon @@ -166,7 +161,6 @@ static struct position *display_text_line (); static void display_mode_line (); static int display_mode_element (); -static char *fmodetrunc (); static char *decode_mode_spec (); static int display_string (); static void display_menu_bar (); @@ -505,10 +499,10 @@ a[2] = a3; len = doprnt (FRAME_MESSAGE_BUF (echo_frame), - FRAME_WIDTH (echo_frame), m, 0, 3, a); + FRAME_WIDTH (echo_frame), m, (char *)0, 3, a); #else len = doprnt (FRAME_MESSAGE_BUF (echo_frame), - FRAME_WIDTH (echo_frame), m, 0, 3, &a1); + FRAME_WIDTH (echo_frame), m, (char *)0, 3, &a1); #endif /* NO_ARG_ARRAY */ message2 (FRAME_MESSAGE_BUF (echo_frame), len);