# HG changeset patch # User Dan Nicolaescu # Date 1189459532 0 # Node ID 7ec30b352b6ea6757fddd7349a6325c36e0f26a9 # Parent 67d7b6f96606f452c6e5f158d32aac8ee536b89f * xterm.c (x_create_terminal): Add comment. * term.c (clear_tty_hooks, set_tty_hooks): Add comments. diff -r 67d7b6f96606 -r 7ec30b352b6e src/ChangeLog --- a/src/ChangeLog Mon Sep 10 21:16:03 2007 +0000 +++ b/src/ChangeLog Mon Sep 10 21:25:32 2007 +0000 @@ -1,3 +1,9 @@ +2007-09-10 Dan Nicolaescu + + * xterm.c (x_create_terminal): Add comment. + + * term.c (clear_tty_hooks, set_tty_hooks): Add comments. + 2007-09-10 Richard Stallman * xterm.c (x_term_init): Give error if can't open DISPLAY_NAME. diff -r 67d7b6f96606 -r 7ec30b352b6e src/term.c --- a/src/term.c Mon Sep 10 21:16:03 2007 +0000 +++ b/src/term.c Mon Sep 10 21:25:32 2007 +0000 @@ -3039,6 +3039,7 @@ } +/* Reset the hooks in TERMINAL. */ static void clear_tty_hooks (struct terminal *terminal) @@ -3076,6 +3077,8 @@ terminal->delete_terminal_hook = &delete_tty; } +/* Initialize hooks in TERMINAL with the values needed for a tty. */ + static void set_tty_hooks (struct terminal *terminal) { diff -r 67d7b6f96606 -r 7ec30b352b6e src/xterm.c --- a/src/xterm.c Mon Sep 10 21:16:03 2007 +0000 +++ b/src/xterm.c Mon Sep 10 21:25:32 2007 +0000 @@ -11338,6 +11338,8 @@ UNBLOCK_INPUT; } +/* Create a struct terminal, initialize it with the X11 specific + functions and make DISPLAY->TERMINAL point to it. */ static struct terminal * x_create_terminal (struct x_display_info *dpyinfo)