diff options
| author | Paul Eggert | 2018-04-28 16:49:24 -0700 |
|---|---|---|
| committer | Paul Eggert | 2018-04-28 16:56:48 -0700 |
| commit | 8c3215e7a47e3caaa005bf573765ed63e0739b89 (patch) | |
| tree | 0b90cacdef1a62ff888e92d0742b715ee69705ce /src/tparam.h | |
| parent | 2b9ab8c8fba849da8bf2aa45e65b122bb937a6b3 (diff) | |
| download | emacs-8c3215e7a47e3caaa005bf573765ed63e0739b89.tar.gz emacs-8c3215e7a47e3caaa005bf573765ed63e0739b89.zip | |
Port --enable-gcc-warnings to GCC 8
* configure.ac: Do not use GCC 8’s new -Wcast-align flag.
* lib-src/ebrowse.c (xmalloc):
* lib-src/emacsclient.c (xmalloc, xstrdup):
* lib-src/etags.c (xmalloc):
* lib-src/make-docfile.c (xmalloc):
* lib-src/movemail.c (xmalloc):
* src/dispnew.c (new_glyph_pool):
* src/regex.c (xmalloc):
* src/term.c (tty_menu_create):
* src/tparam.h (tparam):
Use ATTRIBUTE_MALLOC. Also see GCC bug 85562.
* lib-src/emacsclient.c (fail):
Do not dereference a null pointer.
* src/frame.c (delete_frame):
Add a decl with UNINIT to work around GCC bug 85563.
* src/menu.h (finish_menu_items):
Do not use attribute const.
* src/regex.c (analyze_first): Use FALLTHROUGH, not a comment.
Diffstat (limited to 'src/tparam.h')
| -rw-r--r-- | src/tparam.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tparam.h b/src/tparam.h index 3a3cb52c178..79c55b94d2a 100644 --- a/src/tparam.h +++ b/src/tparam.h | |||
| @@ -30,7 +30,7 @@ int tgetnum (const char *); | |||
| 30 | char *tgetstr (const char *, char **); | 30 | char *tgetstr (const char *, char **); |
| 31 | char *tgoto (const char *, int, int); | 31 | char *tgoto (const char *, int, int); |
| 32 | 32 | ||
| 33 | char *tparam (const char *, char *, int, int, int, int, int); | 33 | char *tparam (const char *, char *, int, int, int, int, int) ATTRIBUTE_MALLOC; |
| 34 | 34 | ||
| 35 | extern char PC; | 35 | extern char PC; |
| 36 | extern char *BC; | 36 | extern char *BC; |