aboutsummaryrefslogtreecommitdiffstats
path: root/src/util.c
diff options
context:
space:
mode:
authorjames <>2008-02-13 09:12:21 +0000
committerjames <>2008-02-13 09:12:21 +0000
commit23dc931ca671e938da071d24d8e9b6052e49923a (patch)
treef60e7ebd00db56a2757479334f4c8742cd6fcc13 /src/util.c
parent4d50b220e63c52d412bacebb3e44cc712f2e2804 (diff)
downloadsympathy-23dc931ca671e938da071d24d8e9b6052e49923a.tar.gz
sympathy-23dc931ca671e938da071d24d8e9b6052e49923a.tar.bz2
sympathy-23dc931ca671e938da071d24d8e9b6052e49923a.zip
*** empty log message ***
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/util.c b/src/util.c
index e8b315e..bd838b9 100644
--- a/src/util.c
+++ b/src/util.c
@@ -10,6 +10,9 @@ static char rcsid[] = "$Id$";
/*
* $Log$
+ * Revision 1.2 2008/02/13 09:12:21 james
+ * *** empty log message ***
+ *
* Revision 1.1 2008/02/13 01:08:38 james
* *** empty log message ***
*
@@ -66,7 +69,8 @@ set_blocking (int fd)
fcntl (fd, F_SETFL, arg);
}
-void raw_termios(struct termios *termios)
+void
+raw_termios (struct termios *termios)
{
termios->c_iflag = ICRNL | IXON;
@@ -97,12 +101,10 @@ default_termios (struct termios *termios)
memset (termios, 0, sizeof (termios));
- raw_termios(termios);
+ raw_termios (termios);
termios->c_cflag = CS8 | CREAD | CLOCAL;
cfsetispeed (termios, B9600);
cfsetospeed (termios, B9600);
}
-
-