diff options
author | Po Lu <luangruo@yahoo.com> | 2022-05-07 13:38:42 +0000 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-05-07 13:39:00 +0000 |
commit | 7e97b33aa62c39111f33a94c487f0a174d06346d (patch) | |
tree | e55ad2be7e6fb91963feaf6b888ee1452e961ac7 /src/haikuterm.c | |
parent | 987a212eb17b32cabcf46640417768bcccb2be5e (diff) | |
download | emacs-7e97b33aa62c39111f33a94c487f0a174d06346d.tar.gz emacs-7e97b33aa62c39111f33a94c487f0a174d06346d.tar.bz2 emacs-7e97b33aa62c39111f33a94c487f0a174d06346d.zip |
Clean up some variables in the Haiku code
* src/haikuterm.c: Add comments to some variables and clean up
initializers.
* src/haikuterm.h (haiku_frame_param_handlers): Move here
instead.
Diffstat (limited to 'src/haikuterm.c')
-rw-r--r-- | src/haikuterm.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/haikuterm.c b/src/haikuterm.c index ced16d9f09b..f08fe681871 100644 --- a/src/haikuterm.c +++ b/src/haikuterm.c @@ -43,17 +43,24 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ /* Minimum and maximum values used for Haiku scroll bars. */ #define BE_SB_MAX 12000000 -struct haiku_display_info *x_display_list = NULL; -extern frame_parm_handler haiku_frame_parm_handlers[]; +/* The single Haiku display (if any). */ +struct haiku_display_info *x_display_list; /* This is used to determine when to evict the font lookup cache, which we do every 50 updates. */ static int up_to_date_count; +/* List of defined fringe bitmaps. */ static void **fringe_bmps; -static int max_fringe_bmp = 0; +/* The amount of fringe bitmaps in that list. */ +static int max_fringe_bmp; + +/* Alist of resources to their values. */ static Lisp_Object rdb; + +/* Non-zero means that a HELP_EVENT has been generated since Emacs + start. */ static bool any_help_event_p; char * |