summaryrefslogtreecommitdiff
path: root/ttymodes.c
diff options
context:
space:
mode:
authordamien <damien>2000-04-16 01:18:38 +0000
committerdamien <damien>2000-04-16 01:18:38 +0000
commit8c2a627228e29d2cfa293c521df7b9c9bf6b4361 (patch)
tree4060aa5e88cf0146576068a8cccbb944915009a0 /ttymodes.c
parentb7f20d5d82bfab6c5bf198a8d2d44c207bdf9287 (diff)
downloadopenssh-8c2a627228e29d2cfa293c521df7b9c9bf6b4361.tar.gz
- OpenBSD CVS updates.
[ssh.1 ssh.c] - ssh -2 [auth.c channels.c clientloop.c packet.c packet.h serverloop.c] [session.c sshconnect.c] - check payload for (illegal) extra data [ALL] - whitespace cleanup
Diffstat (limited to 'ttymodes.c')
-rw-r--r--ttymodes.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ttymodes.c b/ttymodes.c
index fffc6d5b..647c6603 100644
--- a/ttymodes.c
+++ b/ttymodes.c
@@ -10,7 +10,7 @@
*/
#include "includes.h"
-RCSID("$Id: ttymodes.c,v 1.3 1999/11/25 00:54:59 damien Exp $");
+RCSID("$Id: ttymodes.c,v 1.4 2000/04/16 01:18:49 damien Exp $");
#include "packet.h"
#include "ssh.h"
@@ -23,7 +23,7 @@ RCSID("$Id: ttymodes.c,v 1.3 1999/11/25 00:54:59 damien Exp $");
* Converts POSIX speed_t to a baud rate. The values of the
* constants for speed_t are not themselves portable.
*/
-static int
+static int
speed_to_baud(speed_t speed)
{
switch (speed) {
@@ -112,7 +112,7 @@ speed_to_baud(speed_t speed)
/*
* Converts a numeric baud rate to a POSIX speed_t.
*/
-static speed_t
+static speed_t
baud_to_speed(int baud)
{
switch (baud) {
@@ -203,7 +203,7 @@ baud_to_speed(int baud)
* in a portable manner, and appends the modes to a packet
* being constructed.
*/
-void
+void
tty_make_modes(int fd)
{
struct termios tio;
@@ -247,7 +247,7 @@ tty_make_modes(int fd)
* Decodes terminal modes for the terminal referenced by fd in a portable
* manner from a packet being read.
*/
-void
+void
tty_parse_modes(int fd, int *n_bytes_ptr)
{
struct termios tio;