* charset.c: Include <limits.h>.
[bpt/emacs.git] / src / ChangeLog
index e3b3c8c..39f8062 100644 (file)
@@ -1,5 +1,3 @@
-2011-03-08  Paul Eggert  <eggert@cs.ucla.edu>
-
 2011-03-08  Paul Eggert  <eggert@cs.ucla.edu>
 
        * xmenu.c (menu_highlight_callback): Now static.
        * window.h (check_all_windows): New decl, to forestall
        gcc -Wmissing-prototypes diagnostic.
 
+       * charset.h (CHECK_CHARSET_GET_CHARSET): Rename locals to avoid
+       shadowing.
+       * charset.c (map_charset_for_dump, Fchar_charset): Likewise.
+       Include <limits.h>.
+       (Fsort_charsets): Redo min/max calculation to shorten the code a bit
+       and to avoid gcc -Wuninitialized warning.
+
 2011-03-06  Chong Yidong  <cyd@stupidchicken.com>
 
        * xdisp.c (redisplay_window): Revert incorrect logic in 2011-03-06