diff options
| author | Paul Eggert | 2014-06-17 09:09:19 -0700 |
|---|---|---|
| committer | Paul Eggert | 2014-06-17 09:09:19 -0700 |
| commit | 73bfe891e2cf3e9b693938fe94c1ead1bc9b318d (patch) | |
| tree | b666e09276fdb67e80bdf05fa94649d98edb2b2f /src/ChangeLog | |
| parent | 319e8ddc53c72c94b570318adbb9726f1ae0418a (diff) | |
| download | emacs-73bfe891e2cf3e9b693938fe94c1ead1bc9b318d.tar.gz emacs-73bfe891e2cf3e9b693938fe94c1ead1bc9b318d.zip | |
Omit redundant extern decls.
Most of this patch is from Dmitry Antipov, in:
http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00263.html
* configure.ac (WERROR_CFLAGS): Add -Wredundant-decls.
* lib-src/emacsclient.c (getenv): Remove decl.
* lib-src/make-docfile.c (write_globals): Add ATTRIBUTE_CONST for
Fbyteorder, Ftool_bar_height, Fmax_char, Fidentity.
* lwlib/lwlib-Xm.c (lw_motif_widget_p, xm_update_one_value)
(xm_create_dialog, xm_destroy_instance, xm_popup_menu)
(xm_set_keyboard_focus, xm_set_main_areas): Remove decls.
* src/commands.h (update_mode_lines):
* src/frame.h (Qbackground_color, Qforeground_color)
(x_set_menu_bar_lines):
* src/ftfont.c (ftfont_font_format):
* src/intervals.h (Qkeymap, Qfont):
* src/keyboard.c (timer_check, safe_run_hooks, Qregion_extract_function):
* src/lisp.h (Ffboundp, Qnil, Qt, Qlambda, Qintegerp, Qwholenump)
(Qsymbolp, Qlisp, Qconsp, Qstringp, Qarrayp, Qbufferp, Qmarkerp)
(Qvectorp, Qbuffer_or_string_p, Qchar_table_p, Qvector_or_char_table_p)
(Qfloatp, Qnumberp, Qfont_spec, Qfont_entity, Qfont_object)
(Fbyteorder, wrong_type_argument, Fmax_char, syms_of_composite)
(Fidentity, extract_float, init_display, syms_of_display, Qdisplay):
(Qimage, Qbox, redisplay_preserve_echo_area, char_table_ref)
(char_table_set, char_table_translate, Qautoload, Qbottom, Qtop)
(Qvisible, Qfont, Qfront_sticky, Qrear_nonsticky, init_sigio)
(Qtool_bar, Qheader_line):
* src/macros.c (Fexecute_kbd_macro):
* src/xdisp.c (Ftool_bar_height, Ftool_bar_height):
* src/xterm.c (x_delete_terminal, XSetIMValues):
* src/xterm.h (x_set_window_size, x_query_color, x_get_focus_frame)
(x_implicitly_set_name, popup_activated)
(widget_store_internal_border):
Remove redundant decls.
* src/frame.c [USE_X_TOOLKIT]: Include widget.h.
* src/keyboard.c (Fexit_recursive_edit, Fabort_recursive_edit):
Remove _Noreturn, as make-docfile now does that for us.
* src/lisp.h (DEFUN): Don't declare fnname here; rely on make-docfile.
(Qregion_extract_function): New decl.
* src/window.c, src/xfns.c: Include menu.h.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 7917953d09a..142415622ff 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,38 @@ | |||
| 1 | 2014-06-17 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Omit redundant extern decls. | ||
| 4 | Most of this patch is from Dmitry Antipov, in: | ||
| 5 | http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00263.html | ||
| 6 | * commands.h (update_mode_lines): | ||
| 7 | * frame.h (Qbackground_color, Qforeground_color) | ||
| 8 | (x_set_menu_bar_lines): | ||
| 9 | * ftfont.c (ftfont_font_format): | ||
| 10 | * intervals.h (Qkeymap, Qfont): | ||
| 11 | * keyboard.c (timer_check, safe_run_hooks, Qregion_extract_function): | ||
| 12 | * lisp.h (Ffboundp, Qnil, Qt, Qlambda, Qintegerp, Qwholenump) | ||
| 13 | (Qsymbolp, Qlisp, Qconsp, Qstringp, Qarrayp, Qbufferp, Qmarkerp) | ||
| 14 | (Qvectorp, Qbuffer_or_string_p, Qchar_table_p, Qvector_or_char_table_p) | ||
| 15 | (Qfloatp, Qnumberp, Qfont_spec, Qfont_entity, Qfont_object) | ||
| 16 | (Fbyteorder, wrong_type_argument, Fmax_char, syms_of_composite) | ||
| 17 | (Fidentity, extract_float, init_display, syms_of_display, Qdisplay): | ||
| 18 | (Qimage, Qbox, redisplay_preserve_echo_area, char_table_ref) | ||
| 19 | (char_table_set, char_table_translate, Qautoload, Qbottom, Qtop) | ||
| 20 | (Qvisible, Qfont, Qfront_sticky, Qrear_nonsticky, init_sigio) | ||
| 21 | (Qtool_bar, Qheader_line): | ||
| 22 | * macros.c (Fexecute_kbd_macro): | ||
| 23 | * xdisp.c (Ftool_bar_height, Ftool_bar_height): | ||
| 24 | * xterm.c (x_delete_terminal, XSetIMValues): | ||
| 25 | * xterm.h (x_set_window_size, x_query_color, x_get_focus_frame) | ||
| 26 | (x_implicitly_set_name, popup_activated) | ||
| 27 | (widget_store_internal_border): | ||
| 28 | Remove redundant decls. | ||
| 29 | * frame.c [USE_X_TOOLKIT]: Include widget.h. | ||
| 30 | * keyboard.c (Fexit_recursive_edit, Fabort_recursive_edit): | ||
| 31 | Remove _Noreturn, as make-docfile now does that for us. | ||
| 32 | * lisp.h (DEFUN): Don't declare fnname here; rely on make-docfile. | ||
| 33 | (Qregion_extract_function): New decl. | ||
| 34 | * window.c, xfns.c: Include menu.h. | ||
| 35 | |||
| 1 | 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca> | 36 | 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 37 | ||
| 3 | * callint.c (Fcall_interactively): Fix up last change (bug#17701). | 38 | * callint.c (Fcall_interactively): Fix up last change (bug#17701). |