diff options
author | brian <brian@FreeBSD.org> | 1999-12-27 11:54:57 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1999-12-27 11:54:57 +0000 |
commit | 5269dd341cd137829f110a77ccd91d1b7185549c (patch) | |
tree | c01a89bdfbb0afa81a443e52b0296428ffd91430 /usr.sbin/ppp/lcp.c | |
parent | 8d3683f53b3d5744a2026aa9b81196dd6a4a4a1b (diff) | |
download | FreeBSD-src-5269dd341cd137829f110a77ccd91d1b7185549c.zip FreeBSD-src-5269dd341cd137829f110a77ccd91d1b7185549c.tar.gz |
Add a bunch of `const's and fix a typo.
Submitted by: Rich Neswold <rneswold@MCS.Net>
Diffstat (limited to 'usr.sbin/ppp/lcp.c')
-rw-r--r-- | usr.sbin/ppp/lcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/lcp.c b/usr.sbin/ppp/lcp.c index 0c2bc08..8df2061 100644 --- a/usr.sbin/ppp/lcp.c +++ b/usr.sbin/ppp/lcp.c @@ -101,10 +101,10 @@ static struct fsm_callbacks lcp_Callbacks = { fsm_NullRecvResetAck }; -static const char *lcp_TimerNames[] = +static const char * const lcp_TimerNames[] = {"LCP restart", "LCP openmode", "LCP stopped"}; -static const char *cftypes[] = { +static const char * const cftypes[] = { /* Check out the latest ``Assigned numbers'' rfc (rfc1700.txt) */ "???", "MRU", /* 1: Maximum-Receive-Unit */ |