Commit c56e0fd5 authored by Dan Nicolaescu's avatar Dan Nicolaescu

Use const for a string pointer.

* src/dispnew.c (add_window_display_history): Use const for the string
pointer.  Remove declaration, not needed.
parent e300a61b
2011-05-31 Dan Nicolaescu <dann@ics.uci.edu>
* dispnew.c (add_window_display_history): Use const for the string
pointer. Remove declaration, not needed.
2011-05-31 Paul Eggert <eggert@cs.ucla.edu>
Use 'inline', not 'INLINE'.
......
......@@ -290,7 +290,6 @@ static int history_idx;
static unsigned history_tick;
static void add_frame_display_history (struct frame *, int);
static void add_window_display_history (struct window *, char *, int);
/* Add to the redisplay history how window W has been displayed.
MSG is a trace containing the information how W's glyph matrix
......@@ -298,7 +297,7 @@ static void add_window_display_history (struct window *, char *, int);
has been interrupted for pending input. */
static void
add_window_display_history (struct window *w, char *msg, int paused_p)
add_window_display_history (struct window *w, const char *msg, int paused_p)
{
char *buf;
......@@ -6235,9 +6234,6 @@ init_display (void)
}
if (!inhibit_window_system && display_arg
#ifndef CANNOT_DUMP
&& initialized
#endif
)
{
Vinitial_window_system = Qx;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment