Ignore:
Timestamp:
Sep 23, 2014, 12:20:35 PM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
456eab7d
Parents:
33739be
git-author:
Sebastian Huber <sebastian.huber@…> (09/23/14 12:20:35)
git-committer:
Sebastian Huber <sebastian.huber@…> (09/30/14 12:06:09)
Message:

pppd: Fix warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libnetworking/net/if_ppp.c

    r33739be r805360b  
    9090#include <rtems/termiostypes.h>
    9191#include <rtems/rtems_bsdnet.h>
     92#include <rtems/rtemspppd.h>
    9293#include <sys/param.h>
    9394#include <sys/systm.h>
     
    258259  int                         iprocess = (int               )0;
    259260  struct ppp_softc           *sc       = (struct ppp_softc *)arg;
     261#ifdef LALL_X
    260262  struct mbuf                *mp;
     263#endif
    261264  struct mbuf                *mf;
    262265  struct mbuf                *m;
     
    323326      /* loop over all mbufs in chain */
    324327      mf     = NULL;
     328#ifdef LALL_X
    325329      mp     = NULL;
     330#endif
    326331      m      = sc->sc_outm;
    327332
     
    14221427    struct ifqueue *inq;
    14231428    int s, ilen, proto, rv;
    1424     u_char *cp, adrs, ctrl;
     1429    u_char *cp;
     1430#ifdef VJC
     1431    u_char adrs, ctrl;
     1432#endif
    14251433    struct mbuf *mp;
    14261434#ifdef PPP_COMPRESS
     
    14441452
    14451453    cp = mtod(m, u_char *);
     1454#ifdef VJC
    14461455    adrs = PPP_ADDRESS(cp);
    14471456    ctrl = PPP_CONTROL(cp);
     1457#endif
    14481458    proto = PPP_PROTOCOL(cp);
    14491459
Note: See TracChangeset for help on using the changeset viewer.