summaryrefslogtreecommitdiffstats
path: root/cpukit/pppd/pppd.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2003-04-10 16:20:38 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2003-04-10 16:20:38 +0000
commit48cdb95aa2444a386a911be1a8251483d79a9935 (patch)
treeb0732fa7f30d87e972ad1a587235cd8789fcde7b /cpukit/pppd/pppd.h
parent2003-04-10 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-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 'cpukit/pppd/pppd.h')
-rw-r--r--cpukit/pppd/pppd.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/cpukit/pppd/pppd.h b/cpukit/pppd/pppd.h
index 6af6ec1fd6..0ecd2e1d23 100644
--- a/cpukit/pppd/pppd.h
+++ b/cpukit/pppd/pppd.h
@@ -137,16 +137,15 @@ struct wordlist {
* Global variables.
*/
-extern int kill_link; /* Signal to terminate processing loop */
+extern int pppd_kill_link; /* Signal to terminate processing loop */
extern int hungup; /* Physical layer has disconnected */
extern int pppifunit; /* Interface unit number */
extern char ifname[]; /* Interface name */
extern int ttyfd; /* Serial device file descriptor */
extern char hostname[]; /* Our hostname */
extern u_char outpacket_buf[]; /* Buffer for outgoing packets */
-extern int phase; /* Current state of link - see values below */
+extern int pppd_phase; /* Current state of link - see values below */
extern int baud_rate; /* Current link speed in bits/sec */
-extern char *progname; /* Name of this program */
extern int redirect_stderr;/* Connector's stderr should go to file */
extern char peer_authname[];/* Authenticated name of peer */
extern int privileged; /* We were run by real-uid root */
@@ -159,7 +158,7 @@ extern struct pppd_stats link_stats; /* byte/packet counts etc. for link */
extern int using_pty; /* using pty as device (notty or pty opt.) */
extern int log_to_fd; /* logging to this fd as well as syslog */
extern char *no_ppp_msg; /* message to print if ppp not in kernel */
-extern volatile int status; /* exit status for pppd */
+extern volatile int pppd_status; /* exit status for pppd */
extern int devnam_fixed; /* can no longer change devnam */
extern int unsuccess; /* # unsuccessful connection attempts */
extern int do_callback; /* set if we want to do callback next */