diff options
| author | Manuel Mausz <manuel@mausz.at> | 2019-06-11 15:28:27 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2019-06-11 15:29:11 +0200 |
| commit | 692760720b197b46e8e4268bede8cad6f90399aa (patch) | |
| tree | 0d0d5f45759b83e15d6668357f9482dca236880b /timeoutread.c | |
| parent | 54bb1142daa7c25f626176bb9357e1fc7ca75fbb (diff) | |
| download | qmail-692760720b197b46e8e4268bede8cad6f90399aa.tar.gz qmail-692760720b197b46e8e4268bede8cad6f90399aa.tar.bz2 qmail-692760720b197b46e8e4268bede8cad6f90399aa.zip | |
Fix compile warnings...
Diffstat (limited to 'timeoutread.c')
| -rw-r--r-- | timeoutread.c | 4 |
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 | ||
| 6 | int timeoutread(t,fd,buf,len) int t; int fd; char *buf; int len; | 6 | ssize_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; |
