changeset 84461:7ec30b352b6e

* xterm.c (x_create_terminal): Add comment. * term.c (clear_tty_hooks, set_tty_hooks): Add comments.
author Dan Nicolaescu <dann@ics.uci.edu>
date Mon, 10 Sep 2007 21:25:32 +0000
parents 67d7b6f96606
children ccff7ec2f3d8
files src/ChangeLog src/term.c src/xterm.c
diffstat 3 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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  <dann@ics.uci.edu>
+
+	* xterm.c (x_create_terminal): Add comment.
+
+	* term.c (clear_tty_hooks, set_tty_hooks): Add comments.
+
 2007-09-10  Richard Stallman  <rms@gnu.org>
 
 	* xterm.c (x_term_init): Give error if can't open DISPLAY_NAME.
--- 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)
 {
--- 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)