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/chat.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/chat.c')
-rw-r--r-- | usr.sbin/ppp/chat.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ppp/chat.c b/usr.sbin/ppp/chat.c index 984fb62..2f19db2 100644 --- a/usr.sbin/ppp/chat.c +++ b/usr.sbin/ppp/chat.c @@ -133,7 +133,7 @@ chat_NextChar(char *ptr, char ch) } static int -chat_UpdateSet(struct descriptor *d, fd_set *r, fd_set *w, fd_set *e, int *n) +chat_UpdateSet(struct fdescriptor *d, fd_set *r, fd_set *w, fd_set *e, int *n) { struct chat *c = descriptor2chat(d); int special, gotabort, gottimeout, needcr; @@ -316,7 +316,7 @@ chat_UpdateSet(struct descriptor *d, fd_set *r, fd_set *w, fd_set *e, int *n) } static int -chat_IsSet(struct descriptor *d, const fd_set *fdset) +chat_IsSet(struct fdescriptor *d, const fd_set *fdset) { struct chat *c = descriptor2chat(d); return c->argptr && physical_IsSet(&c->physical->desc, fdset); @@ -365,7 +365,7 @@ chat_UpdateLog(struct chat *c, int in) } static void -chat_Read(struct descriptor *d, struct bundle *bundle, const fd_set *fdset) +chat_Read(struct fdescriptor *d, struct bundle *bundle, const fd_set *fdset) { struct chat *c = descriptor2chat(d); @@ -479,7 +479,7 @@ chat_Read(struct descriptor *d, struct bundle *bundle, const fd_set *fdset) } static int -chat_Write(struct descriptor *d, struct bundle *bundle, const fd_set *fdset) +chat_Write(struct fdescriptor *d, struct bundle *bundle, const fd_set *fdset) { struct chat *c = descriptor2chat(d); int result = 0; |