diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2003-04-10 16:20:38 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2003-04-10 16:20:38 +0000 |
commit | 48cdb95aa2444a386a911be1a8251483d79a9935 (patch) | |
tree | b0732fa7f30d87e972ad1a587235cd8789fcde7b /c/src/libnetworking/pppd/rtemspppd.c | |
parent | 2003-04-10 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-48cdb95aa2444a386a911be1a8251483d79a9935.tar.bz2 |
2003-04-10 Joel Sherrill <joel@OARcorp.com>
PR 371/pppd
* pppd/auth.c, pppd/chat.c, pppd/demand.c, pppd/fsm.c, pppd/lcp.c,
pppd/options.c, pppd/pppd.h, pppd/rtemsmain.c, pppd/rtemspppd.c:
Change many symbols to static. There are still global symbols in
rtemspppd.h which might need to be changed or converted into member
of a structure which is dereferenced with a pointer that is managed
as a per task variable. But this patch should avoid many conflicts.
Diffstat (limited to 'c/src/libnetworking/pppd/rtemspppd.c')
-rw-r--r-- | c/src/libnetworking/pppd/rtemspppd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/c/src/libnetworking/pppd/rtemspppd.c b/c/src/libnetworking/pppd/rtemspppd.c index 1277499205..ac8055fc58 100644 --- a/c/src/libnetworking/pppd/rtemspppd.c +++ b/c/src/libnetworking/pppd/rtemspppd.c @@ -177,12 +177,12 @@ int rtems_pppd_set_option(const char *pOption, const char *pValue) } /* save current phase value */ - prevPhase = phase; - phase = PHASE_INITIALIZE; + prevPhase = pppd_phase; + pppd_phase = PHASE_INITIALIZE; /* process option and reset phase value */ iReturn = options_from_list(&option, 1); - phase = prevPhase; + pppd_phase = prevPhase; } return ( iReturn ); @@ -200,7 +200,7 @@ static void timeout_terminate(void *arg) { /* set pppd global variables to disconnect */ persist = 0; - kill_link = 1; + pppd_kill_link = 1; } int rtems_pppd_disconnect(void) |