summaryrefslogtreecommitdiffstats
path: root/timeoutread.c
diff options
context:
space:
mode:
Diffstat (limited to 'timeoutread.c')
-rw-r--r--timeoutread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/timeoutread.c b/timeoutread.c
index c75e29c..a730ba2 100644
--- a/timeoutread.c
+++ b/timeoutread.c
@@ -1,9 +1,9 @@
1#include <unistd.h>
1#include "timeoutread.h" 2#include "timeoutread.h"
2#include "select.h" 3#include "select.h"
3#include "error.h" 4#include "error.h"
4#include "readwrite.h"
5 5
6int timeoutread(t,fd,buf,len) int t; int fd; char *buf; int len; 6ssize_t timeoutread(t,fd,buf,len) int t; int fd; char *buf; int len;
7{ 7{
8 fd_set rfds; 8 fd_set rfds;
9 struct timeval tv; 9 struct timeval tv;