diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 06:41:30 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 06:41:30 +0000 |
commit | a14d555c873398b14776ca4f2c33f9c69617afb9 (patch) | |
tree | 350f6f98843363254f9afe467ae0c92d5a9d7f43 /usr.bin/talk | |
parent | f3a2b348daf9fa6063c38d2d69563f732a2f80e7 (diff) | |
download | FreeBSD-src-a14d555c873398b14776ca4f2c33f9c69617afb9.zip FreeBSD-src-a14d555c873398b14776ca4f2c33f9c69617afb9.tar.gz |
Remove trailing whitespace.
Diffstat (limited to 'usr.bin/talk')
-rw-r--r-- | usr.bin/talk/ctl.c | 2 | ||||
-rw-r--r-- | usr.bin/talk/ctl_transact.c | 2 | ||||
-rw-r--r-- | usr.bin/talk/init_disp.c | 6 | ||||
-rw-r--r-- | usr.bin/talk/invite.c | 4 | ||||
-rw-r--r-- | usr.bin/talk/io.c | 8 | ||||
-rw-r--r-- | usr.bin/talk/look_up.c | 6 | ||||
-rw-r--r-- | usr.bin/talk/msgs.c | 2 | ||||
-rw-r--r-- | usr.bin/talk/talk.c | 8 |
8 files changed, 19 insertions, 19 deletions
diff --git a/usr.bin/talk/ctl.c b/usr.bin/talk/ctl.c index 250cbc1..18b0c5c 100644 --- a/usr.bin/talk/ctl.c +++ b/usr.bin/talk/ctl.c @@ -81,7 +81,7 @@ open_sockt() } /* open the ctl socket */ -open_ctl() +open_ctl() { int length; diff --git a/usr.bin/talk/ctl_transact.c b/usr.bin/talk/ctl_transact.c index 73ee23b..512e040 100644 --- a/usr.bin/talk/ctl_transact.c +++ b/usr.bin/talk/ctl_transact.c @@ -90,7 +90,7 @@ ctl_transact(target, msg, type, rp) } } while (nready == 0); /* - * Keep reading while there are queued messages + * Keep reading while there are queued messages * (this is not necessary, it just saves extra * request/acknowledgements being sent) */ diff --git a/usr.bin/talk/init_disp.c b/usr.bin/talk/init_disp.c index ee99556..e50b9e8 100644 --- a/usr.bin/talk/init_disp.c +++ b/usr.bin/talk/init_disp.c @@ -50,7 +50,7 @@ static char sccsid[] = "@(#)init_disp.c 8.2 (Berkeley) 2/16/94"; #include <err.h> #include "talk.h" -/* +/* * Make sure the callee can write to the screen */ void check_writeable() @@ -66,7 +66,7 @@ void check_writeable() errx(1, "The callee cannot write to this terminal, use \"mesg y\"."); } -/* +/* * Set up curses, catch the appropriate signals, * and build the various windows. */ @@ -119,7 +119,7 @@ set_edit_chars() int cc; struct sgttyb tty; struct ltchars ltc; - + ioctl(0, TIOCGETP, &tty); ioctl(0, TIOCGLTC, (struct sgttyb *)<c); my_win.cerase = tty.sg_erase; diff --git a/usr.bin/talk/invite.c b/usr.bin/talk/invite.c index 16fc4e6..d7c33f3 100644 --- a/usr.bin/talk/invite.c +++ b/usr.bin/talk/invite.c @@ -49,13 +49,13 @@ static char sccsid[] = "@(#)invite.c 8.1 (Berkeley) 6/6/93"; /* * There wasn't an invitation waiting, so send a request containing * our sockt address to the remote talk daemon so it can invite - * him + * him */ /* * The msg.id's for the invitations * on the local and remote machines. - * These are used to delete the + * These are used to delete the * invitations. */ int local_id, remote_id; diff --git a/usr.bin/talk/io.c b/usr.bin/talk/io.c index e9f0480..f7f31bd 100644 --- a/usr.bin/talk/io.c +++ b/usr.bin/talk/io.c @@ -36,7 +36,7 @@ static char sccsid[] = "@(#)io.c 8.1 (Berkeley) 6/6/93"; #endif /* not lint */ /* - * This file contains the I/O handling and the exchange of + * This file contains the I/O handling and the exchange of * edit characters. This connection itself is established in * ctl.c */ @@ -67,7 +67,7 @@ talk() sockt_mask = (1<<sockt); /* - * Wait on both the other process (sockt_mask) and + * Wait on both the other process (sockt_mask) and * standard input ( STDIN_MASK ) */ read_template = sockt_mask | STDIN_MASK; @@ -85,7 +85,7 @@ talk() p_error("Unexpected error from select"); quit(); } - if (read_set & sockt_mask) { + if (read_set & sockt_mask) { /* There is data on sockt */ nb = read(sockt, buf, sizeof buf); if (nb <= 0) { @@ -115,7 +115,7 @@ extern int sys_nerr; * p_error prints the system error message on the standard location * on the screen and then exits. (i.e. a curses version of perror) */ -p_error(string) +p_error(string) char *string; { wmove(my_win.x_win, current_line, 0); diff --git a/usr.bin/talk/look_up.c b/usr.bin/talk/look_up.c index 9c335ae..cc4b4c5 100644 --- a/usr.bin/talk/look_up.c +++ b/usr.bin/talk/look_up.c @@ -63,8 +63,8 @@ check_local() if (!look_for_invite(rp)) return (0); /* - * There was an invitation waiting for us, - * so connect with the other (hopefully waiting) party + * There was an invitation waiting for us, + * so connect with the other (hopefully waiting) party */ current_state = "Waiting to connect with caller"; do { @@ -78,7 +78,7 @@ check_local() if (errno == ECONNREFUSED) { /* * The caller gave up, but his invitation somehow - * was not cleared. Clear it and initiate an + * was not cleared. Clear it and initiate an * invitation. (We know there are no newer invitations, * the talkd works LIFO.) */ diff --git a/usr.bin/talk/msgs.c b/usr.bin/talk/msgs.c index 733c207..6e8cc9b 100644 --- a/usr.bin/talk/msgs.c +++ b/usr.bin/talk/msgs.c @@ -35,7 +35,7 @@ static char sccsid[] = "@(#)msgs.c 8.1 (Berkeley) 6/6/93"; #endif /* not lint */ -/* +/* * A package to display what is happening every MSG_INTERVAL seconds * if we are slow connecting. */ diff --git a/usr.bin/talk/talk.c b/usr.bin/talk/talk.c index 8873e26..ca0dcb4 100644 --- a/usr.bin/talk/talk.c +++ b/usr.bin/talk/talk.c @@ -44,14 +44,14 @@ static char sccsid[] = "@(#)talk.c 8.1 (Berkeley) 6/6/93"; #include "talk.h" /* - * talk: A visual form of write. Using sockets, a two way - * connection is set up between the two people talking. - * With the aid of curses, the screen is split into two + * talk: A visual form of write. Using sockets, a two way + * connection is set up between the two people talking. + * With the aid of curses, the screen is split into two * windows, and each users text is added to the window, * one character at a time... * * Written by Kipp Hickman - * + * * Modified to run under 4.1a by Clem Cole and Peter Moore * Modified to run between hosts by Peter Moore, 8/19/82 * Modified to run under 4.1c by Peter Moore 3/17/83 |