From 48cdb95aa2444a386a911be1a8251483d79a9935 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 10 Apr 2003 16:20:38 +0000 Subject: 2003-04-10 Joel Sherrill 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. --- c/src/libnetworking/pppd/rtemspppd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'c/src/libnetworking/pppd/rtemspppd.c') 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) -- cgit v1.2.3