summaryrefslogtreecommitdiff
path: root/exp_win.c
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-04 17:22:41 -0800
committerAnas Nashif <anas.nashif@intel.com>2012-11-04 17:22:41 -0800
commit249d0d3e262aca9e28b69b3832575ef26182126c (patch)
treef1d47de77d835ae22cdcab77fba2b8ebb37f5b97 /exp_win.c
parent7b43f4c6b81101ed68f4db93f947c69b538e038a (diff)
downloadexpect-249d0d3e262aca9e28b69b3832575ef26182126c.tar.gz
expect-249d0d3e262aca9e28b69b3832575ef26182126c.tar.bz2
expect-249d0d3e262aca9e28b69b3832575ef26182126c.zip
fixes
Diffstat (limited to 'exp_win.c')
-rw-r--r--exp_win.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/exp_win.c b/exp_win.c
index 97adbee..15969f6 100644
--- a/exp_win.c
+++ b/exp_win.c
@@ -78,7 +78,7 @@ typedef struct {
static exp_winsize winsize = {0, 0};
static exp_winsize win2size = {0, 0};
-int exp_window_size_set(fd)
+void exp_window_size_set(fd)
int fd;
{
#ifdef TIOCSWINSZ
@@ -89,7 +89,7 @@ int fd;
#endif
}
-int exp_window_size_get(fd)
+void exp_window_size_get(fd)
int fd;
{
#ifdef TIOCGWINSZ
@@ -142,7 +142,7 @@ exp_win_columns_get()
* separate copy of everything above - used for handling user stty requests
*/
-int exp_win2_size_set(fd)
+void exp_win2_size_set(fd)
int fd;
{
#ifdef TIOCSWINSZ
@@ -153,7 +153,7 @@ int fd;
#endif
}
-int exp_win2_size_get(fd)
+void exp_win2_size_get(fd)
int fd;
{
#ifdef TIOCGWINSZ