aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/prompt.c
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>2000-03-14 01:46:09 +0000
committerBrian Somers <brian@FreeBSD.org>2000-03-14 01:46:09 +0000
commitf013f33ee27e881a82929e677fab7303de58d27b (patch)
treea1c61a4346986b0cf311ae04013ff7d8bd31a6eb /usr.sbin/ppp/prompt.c
parent56fc73ff9bfe1a2c7d4b632e2804b80c06d4dcf3 (diff)
downloadsrc-f013f33ee27e881a82929e677fab7303de58d27b.tar.gz
src-f013f33ee27e881a82929e677fab7303de58d27b.zip
To avoid namespace polution in NetBSD:
``struct descriptor'' -> ``struct fdescriptor''
Notes
Notes: svn path=/head/; revision=58028
Diffstat (limited to 'usr.sbin/ppp/prompt.c')
-rw-r--r--usr.sbin/ppp/prompt.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ppp/prompt.c b/usr.sbin/ppp/prompt.c
index 565245328e45..debd7ca1483b 100644
--- a/usr.sbin/ppp/prompt.c
+++ b/usr.sbin/ppp/prompt.c
@@ -120,7 +120,7 @@ prompt_Display(struct prompt *p)
}
static int
-prompt_UpdateSet(struct descriptor *d, fd_set *r, fd_set *w, fd_set *e, int *n)
+prompt_UpdateSet(struct fdescriptor *d, fd_set *r, fd_set *w, fd_set *e, int *n)
{
struct prompt *p = descriptor2prompt(d);
int sets;
@@ -151,7 +151,7 @@ prompt_UpdateSet(struct descriptor *d, fd_set *r, fd_set *w, fd_set *e, int *n)
}
static int
-prompt_IsSet(struct descriptor *d, const fd_set *fdset)
+prompt_IsSet(struct fdescriptor *d, const fd_set *fdset)
{
struct prompt *p = descriptor2prompt(d);
return p->fd_in >= 0 && FD_ISSET(p->fd_in, fdset);
@@ -170,7 +170,7 @@ prompt_ShowHelp(struct prompt *p)
}
static void
-prompt_Read(struct descriptor *d, struct bundle *bundle, const fd_set *fdset)
+prompt_Read(struct fdescriptor *d, struct bundle *bundle, const fd_set *fdset)
{
struct prompt *p = descriptor2prompt(d);
struct prompt *op;
@@ -291,7 +291,7 @@ prompt_Read(struct descriptor *d, struct bundle *bundle, const fd_set *fdset)
}
static int
-prompt_Write(struct descriptor *d, struct bundle *bundle, const fd_set *fdset)
+prompt_Write(struct fdescriptor *d, struct bundle *bundle, const fd_set *fdset)
{
/* We never want to write here ! */
log_Printf(LogALERT, "prompt_Write: Internal error: Bad call !\n");