aboutsummaryrefslogtreecommitdiffstats
path: root/src/termhooks.h
diff options
context:
space:
mode:
authorDmitry Antipov2014-05-14 17:55:37 +0400
committerDmitry Antipov2014-05-14 17:55:37 +0400
commit6f1d9822d972c418dbf2295fcd01b7b0a3dc5ef8 (patch)
tree18e260eef312d3459cb0908206bbfa621cf66808 /src/termhooks.h
parentc5aed7bd9330c2bde33abfe1724af820273b457a (diff)
downloademacs-6f1d9822d972c418dbf2295fcd01b7b0a3dc5ef8.tar.gz
emacs-6f1d9822d972c418dbf2295fcd01b7b0a3dc5ef8.zip
Minor cleanup for terminal setup.
* termhooks.h (create_terminal): Adjust prototype. * terminal.c (create_terminal): Pass output method and RIF as args. (init_initial_terminal): * nsterm.m (ns_create_terminal): * term.c (init_tty): * w32term.c (w32_create_terminal): * xterm.c (x_create_terminal): Adjust users. Avoid redundant NULL initializers and add comments.
Diffstat (limited to 'src/termhooks.h')
-rw-r--r--src/termhooks.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/termhooks.h b/src/termhooks.h
index 708351da83d..207b8ccbc3c 100644
--- a/src/termhooks.h
+++ b/src/termhooks.h
@@ -637,7 +637,8 @@ extern struct terminal *terminal_list;
637#endif 637#endif
638 638
639extern struct terminal *get_terminal (Lisp_Object terminal, bool); 639extern struct terminal *get_terminal (Lisp_Object terminal, bool);
640extern struct terminal *create_terminal (void); 640extern struct terminal *create_terminal (enum output_method,
641 struct redisplay_interface *);
641extern void delete_terminal (struct terminal *); 642extern void delete_terminal (struct terminal *);
642 643
643/* The initial terminal device, created by initial_term_init. */ 644/* The initial terminal device, created by initial_term_init. */