From: Paul Eggert Date: Sat, 16 Apr 2011 23:11:35 +0000 (-0700) Subject: Static checks with GCC 4.6.0 and non-default toolkits. X-Git-Url: https://git.hcoop.net/bpt/emacs.git/commitdiff_plain/fd35b6f96777be3305879a9ca60ab5befb254042?hp=399c71d323b8beef139437311c78440d0033c652 Static checks with GCC 4.6.0 and non-default toolkits. --- diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 456e286503..c45da107a8 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,5 +1,7 @@ 2011-04-16 Paul Eggert + Static checks with GCC 4.6.0 and non-default toolkits. + * movemail.c (mail_spool_name): Protoize. (main): Remove unused var. Mark var as initialized. Move locals to avoid shadowing, and use time_t for times. diff --git a/lwlib/ChangeLog b/lwlib/ChangeLog index 91f79536a4..e98526f254 100644 --- a/lwlib/ChangeLog +++ b/lwlib/ChangeLog @@ -1,5 +1,7 @@ 2011-04-16 Paul Eggert + Static checks with GCC 4.6.0 and non-default toolkits. + * lwlib-Xm.c (make_dialog): Rename local to avoid shadowing. (make_menu_in_widget): Add cast to avoid warning. * lwlib-utils.c (XtCompositeChildren): Likewise. diff --git a/oldXMenu/ChangeLog b/oldXMenu/ChangeLog index 9dd6cc954d..b40b5ca708 100644 --- a/oldXMenu/ChangeLog +++ b/oldXMenu/ChangeLog @@ -1,5 +1,7 @@ 2011-04-16 Paul Eggert + Static checks with GCC 4.6.0 and non-default toolkits. + Modernize to C89, for better static checking. * Activate.c (XMenuActivate): Callback's first arg is readonly. * AddPane.c (XMenuAddPane): Label is readonly. Rename local diff --git a/src/ChangeLog b/src/ChangeLog index ded7da730f..908f885caf 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2011-04-16 Paul Eggert + Static checks with GCC 4.6.0 and non-default toolkits. + * s/sol2-6.h, s/unixware.h (PTY_TTY_NAME_SPRINTF): Protoize decl. * process.c (keyboard_bit_set): Define only if SIGIO.