summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ChangeLog6
-rw-r--r--src/dispextern.h2
-rw-r--r--src/dispnew.c2
-rw-r--r--src/xdisp.c3
4 files changed, 1 insertions, 12 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 76986f60c1..1bb4a6a599 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -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.
diff --git a/src/dispextern.h b/src/dispextern.h
index 48dd374f3c..486aa4f7a4 100644
--- a/src/dispextern.h
+++ b/src/dispextern.h
@@ -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 */
diff --git a/src/dispnew.c b/src/dispnew.c
index e4868a237d..d6bf6666ee 100644
--- a/src/dispnew.c
+++ b/src/dispnew.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);
diff --git a/src/xdisp.c b/src/xdisp.c
index 65e2c1e4f0..ae19e11565 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -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)
{