diff options
| author | Dmitry Antipov | 2014-05-14 17:55:37 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2014-05-14 17:55:37 +0400 |
| commit | 6f1d9822d972c418dbf2295fcd01b7b0a3dc5ef8 (patch) | |
| tree | 18e260eef312d3459cb0908206bbfa621cf66808 /src/termhooks.h | |
| parent | c5aed7bd9330c2bde33abfe1724af820273b457a (diff) | |
| download | emacs-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.h | 3 |
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 | ||
| 639 | extern struct terminal *get_terminal (Lisp_Object terminal, bool); | 639 | extern struct terminal *get_terminal (Lisp_Object terminal, bool); |
| 640 | extern struct terminal *create_terminal (void); | 640 | extern struct terminal *create_terminal (enum output_method, |
| 641 | struct redisplay_interface *); | ||
| 641 | extern void delete_terminal (struct terminal *); | 642 | extern 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. */ |