diff options
author | brian <brian@FreeBSD.org> | 2000-03-14 01:46:09 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2000-03-14 01:46:09 +0000 |
commit | 9c5b52bb1ff54c68085f3d991416208f25de7639 (patch) | |
tree | dbe961365e18f19df00ee52df51b62d05741ec40 /usr.sbin/ppp/mp.c | |
parent | fe41605fe0c0e256c26622b4c8e5edf23f72d7c7 (diff) | |
download | FreeBSD-src-9c5b52bb1ff54c68085f3d991416208f25de7639.zip FreeBSD-src-9c5b52bb1ff54c68085f3d991416208f25de7639.tar.gz |
To avoid namespace polution in NetBSD:
``struct descriptor'' -> ``struct fdescriptor''
Diffstat (limited to 'usr.sbin/ppp/mp.c')
-rw-r--r-- | usr.sbin/ppp/mp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ppp/mp.c b/usr.sbin/ppp/mp.c index 16197b0..8f9173a 100644 --- a/usr.sbin/ppp/mp.c +++ b/usr.sbin/ppp/mp.c @@ -966,7 +966,7 @@ mp_SetEnddisc(struct cmdargs const *arg) } static int -mpserver_UpdateSet(struct descriptor *d, fd_set *r, fd_set *w, fd_set *e, +mpserver_UpdateSet(struct fdescriptor *d, fd_set *r, fd_set *w, fd_set *e, int *n) { struct mpserver *s = descriptor2mpserver(d); @@ -996,14 +996,14 @@ mpserver_UpdateSet(struct descriptor *d, fd_set *r, fd_set *w, fd_set *e, } static int -mpserver_IsSet(struct descriptor *d, const fd_set *fdset) +mpserver_IsSet(struct fdescriptor *d, const fd_set *fdset) { struct mpserver *s = descriptor2mpserver(d); return s->fd >= 0 && FD_ISSET(s->fd, fdset); } static void -mpserver_Read(struct descriptor *d, struct bundle *bundle, const fd_set *fdset) +mpserver_Read(struct fdescriptor *d, struct bundle *bundle, const fd_set *fdset) { struct mpserver *s = descriptor2mpserver(d); @@ -1011,7 +1011,7 @@ mpserver_Read(struct descriptor *d, struct bundle *bundle, const fd_set *fdset) } static int -mpserver_Write(struct descriptor *d, struct bundle *bundle, const fd_set *fdset) +mpserver_Write(struct fdescriptor *d, struct bundle *bundle, const fd_set *fdset) { /* We never want to write here ! */ log_Printf(LogALERT, "mpserver_Write: Internal error: Bad call !\n"); |