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/chat.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 '')
-rw-r--r-- | c/src/libnetworking/pppd/chat.c | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/c/src/libnetworking/pppd/chat.c b/c/src/libnetworking/pppd/chat.c index 74be1b06f0..d40e3b2e46 100644 --- a/c/src/libnetworking/pppd/chat.c +++ b/c/src/libnetworking/pppd/chat.c @@ -140,22 +140,17 @@ static int _O = 0; /* Internal state */ #endif /*************** Micro getopt() *********************************************/ -char *program_name; - #define MAX_ABORTS 16 #define MAX_REPORTS 16 #define DEFAULT_CHAT_TIMEOUT 45 #define MAX_TIMEOUTS 10 -int echo = 0; -int quiet = 0; -int report = 0; -int use_env = 0; -int exit_code = 0; -char *report_file = (char *) 0; -char *chat_file = (char *) 0; -char *phone_num = (char *) 0; -char *phone_num2 = (char *) 0; +static int echo = 0; +static int quiet = 0; +static int use_env = 0; +static int exit_code = 0; +static char *phone_num = (char *) 0; +static char *phone_num2 = (char *) 0; static int ttyfd; static int timeout = DEFAULT_CHAT_TIMEOUT; |