diff pwplib/tty.c @ 55:77f40a3c0095

Cleanups.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 27 May 2010 20:16:08 +0300
parents 85671798fdb3
children 5d819ba6891c
line wrap: on
line diff
--- a/pwplib/tty.c	Wed May 26 01:22:51 2010 +0300
+++ b/pwplib/tty.c	Thu May 27 20:16:08 2010 +0300
@@ -11,12 +11,12 @@
 
 #ifdef HAVE_TTYSTUFF
 
-void tty_restore_termios(void)
+static void tty_restore_termios(void)
 {
    tcsetattr(STDIN,TCSADRAIN,&pwp_tty.setup);
 }
 
-void tty_init_termios(void)
+static void tty_init_termios(void)
 {
    struct termios t;
    tcgetattr(STDIN,&t);
@@ -32,7 +32,7 @@
    pwplib_regdestr(tty_restore_termios);
 }
 
-void tty_getwinsize(void)
+static void tty_getwinsize(void)
 {
 #  ifdef TIOCGWINSZ
   {struct winsize wsz;
@@ -61,7 +61,7 @@
 
 /******************************************************************/
 
-void tty_probe_raw(void)
+static void tty_probe_raw(void)
 {
    fd_set fdset;
    struct timeval timeout;
@@ -150,7 +150,7 @@
 
 /******************************************************************/
 
-int tty_probe(void)
+static int tty_probe(void)
 {
    char*tt;