diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-12-01 19:27:29 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-12-01 19:27:29 +0000 |
commit | 0ab03c973fc0a0357b2ba5f1cf0b556b6c3733df (patch) | |
tree | 51e903efa784dbbed046cece1966dee5114c5ca2 /usr.sbin | |
parent | e90c98ff9f33332c82b6336da7622f73a78bc8d3 (diff) |
fd_set, not struct fd_set
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/rtadvd/rtadvd.c | 4 | ||||
-rw-r--r-- | usr.sbin/rtsold/rtsold.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/rtadvd/rtadvd.c b/usr.sbin/rtadvd/rtadvd.c index 489d63285fb..cd0d308b950 100644 --- a/usr.sbin/rtadvd/rtadvd.c +++ b/usr.sbin/rtadvd/rtadvd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtadvd.c,v 1.10 2001/11/17 19:49:40 deraadt Exp $ */ +/* $OpenBSD: rtadvd.c,v 1.11 2001/12/01 19:27:28 deraadt Exp $ */ /* $KAME: rtadvd.c,v 1.50 2001/02/04 06:15:15 itojun Exp $ */ /* @@ -266,7 +266,7 @@ main(argc, argv) signal(SIGUSR1, (void *)rtadvd_set_dump_file); while (1) { - struct fd_set select_fd = fdset; /* reinitialize */ + fd_set select_fd = fdset; /* reinitialize */ if (do_dump) { /* SIGUSR1 */ do_dump = 0; diff --git a/usr.sbin/rtsold/rtsold.c b/usr.sbin/rtsold/rtsold.c index e5f612ea174..5dfefa6ec18 100644 --- a/usr.sbin/rtsold/rtsold.c +++ b/usr.sbin/rtsold/rtsold.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtsold.c,v 1.11 2001/11/17 19:49:40 deraadt Exp $ */ +/* $OpenBSD: rtsold.c,v 1.12 2001/12/01 19:27:28 deraadt Exp $ */ /* $KAME: rtsold.c,v 1.32 2001/07/09 22:34:07 itojun Exp $ */ /* @@ -115,7 +115,7 @@ main(argc, argv) #endif int once = 0; struct timeval *timeout; - struct fd_set fdset; + fd_set fdset; char *argv0; char *opts; @@ -279,7 +279,7 @@ main(argc, argv) #endif while (1) { /* main loop */ int e; - struct fd_set select_fd = fdset; + fd_set select_fd = fdset; if (do_dump) { /* SIGUSR1 */ do_dump = 0; |