diff options
author | 2003-08-11 21:23:58 +0000 | |
---|---|---|
committer | 2003-08-11 21:23:58 +0000 | |
commit | 3f56c51ceaa69b9894dd2d8770170e15525d2fc9 (patch) | |
tree | 1fb74a1b84d62aa16b61d8bb6881de6aef15ba90 /usr.bin/ftp/extern.h | |
parent | use poll to replace the fd_set overflows. some input from fgsch; millert ok (diff) | |
download | wireguard-openbsd-3f56c51ceaa69b9894dd2d8770170e15525d2fc9.tar.xz wireguard-openbsd-3f56c51ceaa69b9894dd2d8770170e15525d2fc9.zip |
The empty() function basically effects a poll, so replace it with
real poll(). Gets rid of another static select(). OK deraadt@
Diffstat (limited to 'usr.bin/ftp/extern.h')
-rw-r--r-- | usr.bin/ftp/extern.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/ftp/extern.h b/usr.bin/ftp/extern.h index 0cb2b311a40..291e2d9af85 100644 --- a/usr.bin/ftp/extern.h +++ b/usr.bin/ftp/extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: extern.h,v 1.25 2003/06/03 02:56:08 millert Exp $ */ +/* $OpenBSD: extern.h,v 1.26 2003/08/11 21:23:58 millert Exp $ */ /* $NetBSD: extern.h,v 1.17 1997/08/18 10:20:19 lukem Exp $ */ /* @@ -92,7 +92,6 @@ void domacro(int, char **); char *domap(char *); void doproxy(int, char **); char *dotrans(char *); -int empty(fd_set *, int); int foregroundproc(void); void get(int, char **); struct cmd *getcmd(const char *); |