Revert last commit.
This commit is contained in:
parent
61ccba97a1
commit
7430c2a179
4 changed files with 1 additions and 12 deletions
|
@ -1,9 +1,3 @@
|
|||
2011-11-18 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
Fix minor problems found by static checking.
|
||||
* dispextern.h, xdisp.c (row_hash): Declare extern only if XASSERTS.
|
||||
* dispnew.c (verify_row_hash): Now static.
|
||||
|
||||
2011-11-18 Dmitry Antipov <dmantipov@yandex.ru>
|
||||
|
||||
* keymap.c (Fwhere_is_internal): Add missing RETURN_UNGCPROs.
|
||||
|
|
|
@ -3127,9 +3127,7 @@ void w32_init_fringe (struct redisplay_interface *);
|
|||
void w32_reset_fringes (void);
|
||||
#endif
|
||||
|
||||
#if XASSERTS
|
||||
extern unsigned row_hash (struct glyph_row *);
|
||||
#endif
|
||||
|
||||
/* Defined in image.c */
|
||||
|
||||
|
|
|
@ -431,7 +431,7 @@ margin_glyphs_to_reserve (struct window *w, int total_glyphs, Lisp_Object margin
|
|||
|
||||
#if XASSERTS
|
||||
/* Return non-zero if ROW's hash value is correct, zero if not. */
|
||||
static int
|
||||
int
|
||||
verify_row_hash (struct glyph_row *row)
|
||||
{
|
||||
return row->hash == row_hash (row);
|
||||
|
|
|
@ -17950,9 +17950,6 @@ insert_left_trunc_glyphs (struct it *it)
|
|||
}
|
||||
|
||||
/* Compute the hash code for ROW. */
|
||||
#if !XASSERTS
|
||||
static
|
||||
#endif
|
||||
unsigned
|
||||
row_hash (struct glyph_row *row)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue