aboutsummaryrefslogtreecommitdiffstats
path: root/src/termhooks.h
diff options
context:
space:
mode:
authorPaul Eggert2017-11-13 08:51:41 -0800
committerPaul Eggert2017-11-13 10:16:51 -0800
commit5d68dc9a2fd1b9b883db6bc1c226541b50de8bb1 (patch)
tree196afa86890522fcde540c618ac85e307194127b /src/termhooks.h
parent6aa0a26b46240d79eddd7e0d275454e235a60b84 (diff)
downloademacs-5d68dc9a2fd1b9b883db6bc1c226541b50de8bb1.tar.gz
emacs-5d68dc9a2fd1b9b883db6bc1c226541b50de8bb1.zip
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/termhooks.h')
-rw-r--r--src/termhooks.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/termhooks.h b/src/termhooks.h
index dd6044aabd5..fe4e993c968 100644
--- a/src/termhooks.h
+++ b/src/termhooks.h
@@ -373,7 +373,7 @@ extern struct tty_display_info *gpm_tty;
373struct terminal 373struct terminal
374{ 374{
375 /* This is for Lisp; the terminal code does not refer to it. */ 375 /* This is for Lisp; the terminal code does not refer to it. */
376 struct vectorlike_header header; 376 union vectorlike_header header;
377 377
378 /* Parameter alist of this terminal. */ 378 /* Parameter alist of this terminal. */
379 Lisp_Object param_alist; 379 Lisp_Object param_alist;