diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2017-11-13 08:51:41 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2017-11-13 10:16:51 -0800 |
commit | 5d68dc9a2fd1b9b883db6bc1c226541b50de8bb1 (patch) | |
tree | 196afa86890522fcde540c618ac85e307194127b /src/xterm.h | |
parent | 6aa0a26b46240d79eddd7e0d275454e235a60b84 (diff) | |
download | emacs-5d68dc9a2fd1b9b883db6bc1c226541b50de8bb1.tar.gz |
Change vectorlike from struct to union
* src/lisp.h (vectorlike_headed): Change from struct to union.
All uses changed. Since it has only one member, this does not
change semantics. This is designed to simplify future changes
needed to fix bugs like Bug#29040. All uses changed.
Diffstat (limited to 'src/xterm.h')
-rw-r--r-- | src/xterm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.h b/src/xterm.h index 6274630706f..7ab20ba06c6 100644 --- a/src/xterm.h +++ b/src/xterm.h @@ -887,7 +887,7 @@ extern void x_mark_frame_dirty (struct frame *f); struct scroll_bar { /* These fields are shared by all vectors. */ - struct vectorlike_header header; + union vectorlike_header header; /* The window we're a scroll bar for. */ Lisp_Object window; |