mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-05-01 02:31:23 -07:00
Pacify gcc -Wsuggest-attribute-malloc
* src/xterm.h (x_get_atom_name): Add ATTRIBUTE_MALLOC.
This commit is contained in:
parent
6c4d767019
commit
7f3d781dab
1 changed files with 2 additions and 1 deletions
|
|
@ -1541,7 +1541,8 @@ extern void x_set_pending_dnd_time (Time);
|
|||
extern void x_own_selection (Lisp_Object, Lisp_Object, Lisp_Object);
|
||||
extern Atom x_intern_cached_atom (struct x_display_info *, const char *,
|
||||
bool);
|
||||
extern char *x_get_atom_name (struct x_display_info *, Atom, bool *);
|
||||
extern char *x_get_atom_name (struct x_display_info *, Atom, bool *)
|
||||
ATTRIBUTE_MALLOC;
|
||||
|
||||
#ifdef USE_GTK
|
||||
extern bool xg_set_icon (struct frame *, Lisp_Object);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue