diff options
| author | Paul Eggert | 2014-08-31 19:37:22 -0700 |
|---|---|---|
| committer | Paul Eggert | 2014-08-31 19:37:22 -0700 |
| commit | 1564080f0b24551765d7068b9fc02f6e5a78fea3 (patch) | |
| tree | c710c96b8aef1bdb16ae9287b5fd775695a8547c /src/ChangeLog | |
| parent | 56f9f0ab54fd752773d8bb371a4032e43c9c224c (diff) | |
| download | emacs-1564080f0b24551765d7068b9fc02f6e5a78fea3.tar.gz emacs-1564080f0b24551765d7068b9fc02f6e5a78fea3.zip | |
Clean up extern decls a bit.
* configure.ac (WERROR_CFLAGS): Don't disable -Wnested-externs.
While we're at it, don't disable -Wlogical-op either.
* src/bytecode.c: Include blockinput.h and keyboard.h rather
than rolling their APIs by hand.
* src/emacs.c: Include regex.h and rely on its and lisp.h's API
rather than rolling them by hand.
* src/lastfile.c: Include lisp.h, to check this file's API.
* src/lisp.h (lisp_eval_depth, my_edata, my_endbss, my_endbss_static):
New decls.
* src/regex.h (re_max_failures): New decl.
* src/unexcw.c, src/unexmacosx.c, src/unexw32.c:
Rely on lisp.h's API rather than rolling it by hand.
* src/vm-limit.c (__after_morecore_hook, __morecore, real_morecore):
Declare at top level, to pacify GCC -Wnested-externs.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 26ee524acda..0bf0842690b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,19 @@ | |||
| 1 | 2014-09-01 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Clean up extern decls a bit. | ||
| 4 | * bytecode.c: Include blockinput.h and keyboard.h rather | ||
| 5 | than rolling their APIs by hand. | ||
| 6 | * emacs.c: Include regex.h and rely on its and lisp.h's API | ||
| 7 | rather than rolling them by hand. | ||
| 8 | * lastfile.c: Include lisp.h, to check this file's API. | ||
| 9 | * lisp.h (lisp_eval_depth, my_edata, my_endbss, my_endbss_static): | ||
| 10 | New decls. | ||
| 11 | * regex.h (re_max_failures): New decl. | ||
| 12 | * unexcw.c, unexmacosx.c, unexw32.c: | ||
| 13 | Rely on lisp.h's API rather than rolling it by hand. | ||
| 14 | * vm-limit.c (__after_morecore_hook, __morecore, real_morecore): | ||
| 15 | Declare at top level, to pacify GCC -Wnested-externs. | ||
| 16 | |||
| 1 | 2014-08-31 Eli Zaretskii <eliz@gnu.org> | 17 | 2014-08-31 Eli Zaretskii <eliz@gnu.org> |
| 2 | 18 | ||
| 3 | * xdisp.c (get_glyph_string_clip_rects): Don't let the width of a | 19 | * xdisp.c (get_glyph_string_clip_rects): Don't let the width of a |