apps/netutils/pppd: Fix some naming convention violations.
This commit is contained in:
parent
cddfda99f0
commit
bb21a11a60
@ -66,7 +66,7 @@
|
||||
* only)
|
||||
*/
|
||||
|
||||
static const uint8_t ipcplist[] =
|
||||
static const uint8_t g_ipcplist[] =
|
||||
{
|
||||
IPCP_IPADDRESS,
|
||||
0
|
||||
@ -146,7 +146,7 @@ void ipcp_rx(FAR struct ppp_context_s *ctx, FAR uint8_t * buffer,
|
||||
/* len-=2; */
|
||||
|
||||
DEBUG1(("check lcplist\n"));
|
||||
if (scan_packet(ctx, IPCP, ipcplist, buffer, bptr, (uint16_t) (len - 4)))
|
||||
if (scan_packet(ctx, IPCP, g_ipcplist, buffer, bptr, (uint16_t) (len - 4)))
|
||||
{
|
||||
DEBUG1(("option was bad\n"));
|
||||
}
|
||||
|
@ -74,7 +74,8 @@
|
||||
|
||||
/* Define the supported parameters for this module here. */
|
||||
|
||||
static const uint8_t lcplist[] = {
|
||||
static const uint8_t g_lcplist[] =
|
||||
{
|
||||
LPC_MAGICNUMBER,
|
||||
LPC_PFC,
|
||||
LPC_ACFC,
|
||||
@ -137,7 +138,7 @@ void lcp_rx(struct ppp_context_s *ctx, uint8_t * buffer, uint16_t count)
|
||||
|
||||
DEBUG1(("received [LCP Config Request id %u\n", id));
|
||||
if (scan_packet
|
||||
(ctx, (uint16_t) LCP, lcplist, buffer, bptr, (uint16_t) (len - 4)))
|
||||
(ctx, (uint16_t) LCP, g_lcplist, buffer, bptr, (uint16_t) (len - 4)))
|
||||
{
|
||||
/* Must do the -4 here, !scan packet */
|
||||
|
||||
|
@ -204,7 +204,7 @@ extern "C"
|
||||
void ppp_init(FAR struct ppp_context_s *ctx);
|
||||
void ppp_connect(FAR struct ppp_context_s *ctx);
|
||||
|
||||
extern void ppp_reconnect(FAR struct ppp_context_s *ctx);
|
||||
void ppp_reconnect(FAR struct ppp_context_s *ctx);
|
||||
|
||||
void ppp_send(FAR struct ppp_context_s *ctx);
|
||||
void ppp_poll(FAR struct ppp_context_s *ctx);
|
||||
|
@ -67,7 +67,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef PPP_ARCH_HAVE_MODEM_RESET
|
||||
extern void ppp_arch_modem_reset(const char *tty);
|
||||
void ppp_arch_modem_reset(const char *tty);
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user