1
Fork 0
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:
Paul Eggert 2022-05-27 10:50:56 -07:00
parent 6c4d767019
commit 7f3d781dab

View file

@ -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);