aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2011-02-26 23:57:49 -0800
committerPaul Eggert2011-02-26 23:57:49 -0800
commita4d4252bfb3ef85dd735c6d5e3b5bd3763e78346 (patch)
treedf3824e9f57b10357ae4eeeeb424513b19167b10 /src/ChangeLog
parent1f0816b69dfdbda486bf0329bbfb2e8ccee63d39 (diff)
parentc783d15b93c536b1d2d07a0e9ca9462d1f377120 (diff)
downloademacs-a4d4252bfb3ef85dd735c6d5e3b5bd3763e78346.tar.gz
emacs-a4d4252bfb3ef85dd735c6d5e3b5bd3763e78346.zip
Merge: Minor cleanups uncovered by gcc warnings
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index b49b7a2d3f1..1929c3fc98a 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,36 @@
12011-02-27 Paul Eggert <eggert@cs.ucla.edu>
2
3 * scroll.c (CHECK_BOUNDS): #define only if GLYPH_DEBUG.
4 This avoids a gcc warning in some configurations.
5
6 * frame.c (x_set_screen_gamma): Rename local to avoid shadowing.
7
8 * frame.h: Avoid gcc -Wmissing-prototypes diagnostics.
9 (set_menu_bar_lines, x_get_resource_string): New decls.
10 * msdos.c (set_menu_bar_lines): Omit decl.
11
12 * dispextern.h (struct glyph): Make u.img_id int, not unsigned.
13 It's always given int values and used as an int. This suppresses
14 a gcc "comparison of unsigned expression >= 0" warning in some
15 configurations.
16
17 * dispnew.c: Rename locals to avoid shadowing.
18 (update_text_area, scrolling_window, update_frame_1): Rename locals.
19
202011-02-26 Paul Eggert <eggert@cs.ucla.edu>
21
22 * dispnew.c: Fix problems uncovered by gcc -Wstrict-prototypes.
23 (copy_glyph_row_contents): Remove; not used.
24 (frame_row_to_window, check_current_matrix_flags):
25 (window_change_signal): Now static, since they're not used elsewhere.
26 (check_current_matrix_flags): Surround with "#if 0", since its
27 only use is in a comment. Maybe both the comment and the "#if 0"
28 stuff should be removed?
29
30 * dispnew.c: Fix problem uncovered by gcc -Wunused-variable.
31 (adjust_frame_glyphs_for_window_redisplay): Make 'w' local to the
32 contexts that actually need it.
33
12011-02-26 Eli Zaretskii <eliz@gnu.org> 342011-02-26 Eli Zaretskii <eliz@gnu.org>
2 35
3 * s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04. 36 * s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.