* dispextern.h, xdisp.c (row_hash): Declare extern only if XASSERTS.
* dispnew.c (verify_row_hash): Now static.
+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.
void w32_reset_fringes (void);
#endif
+#if XASSERTS
extern unsigned row_hash (struct glyph_row *);
+#endif
/* Defined in image.c */
#if XASSERTS
/* Return non-zero if ROW's hash value is correct, zero if not. */
-int
+static int
verify_row_hash (struct glyph_row *row)
{
return row->hash == row_hash (row);
}
/* Compute the hash code for ROW. */
+#if !XASSERTS
+static
+#endif
unsigned
row_hash (struct glyph_row *row)
{