Changeset 0b07d87 in rtems


Ignore:
Timestamp:
Mar 28, 2007, 4:40:36 AM (13 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
fa768df
Parents:
d5fce8f
Message:

2007-03-28 Ralf Corsépius <ralf.corsepius@…>

  • libnetworking/netinet/ip_input.c: Eliminate P(). Change "int next" to "int32_t next" for 16bit targets.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rd5fce8f r0b07d87  
    112007-03-28      Ralf Corsépius <ralf.corsepius@rtems.org>
    22
     3        * libnetworking/netinet/ip_input.c: Eliminate __P().
     4        Change "int next" to "int32_t next" for 16bit targets.
    35        * libnetworking/netinet/tcp_input.c: Eliminate __P().
    46        * libnetworking/netinet/in_rmx.c: Eliminate __P().
  • cpukit/libnetworking/netinet/ip_input.c

    rd5fce8f r0b07d87  
    169169#endif
    170170
    171 static void save_rte __P((u_char *, struct in_addr));
    172 static void      ip_deq __P((struct ipasfrag *));
    173 static int       ip_dooptions __P((struct mbuf *));
    174 static void      ip_enq __P((struct ipasfrag *, struct ipasfrag *));
    175 static void      ip_forward __P((struct mbuf *, int));
    176 static void      ip_freef __P((struct ipq *));
     171static void save_rte(u_char *, struct in_addr);
     172static void      ip_deq(struct ipasfrag *);
     173static int       ip_dooptions(struct mbuf *);
     174static void      ip_enq(struct ipasfrag *, struct ipasfrag *);
     175static void      ip_forward(struct mbuf *, int);
     176static void      ip_freef(struct ipq *);
    177177static struct ip *
    178          ip_reass __P((struct ipasfrag *, struct ipq *, struct ipq *));
     178         ip_reass(struct ipasfrag *, struct ipq *, struct ipq *);
    179179static struct in_ifaddr *
    180          ip_rtaddr __P((struct in_addr));
    181 void    ipintr __P((void));
     180         ip_rtaddr(struct in_addr);
     181void    ipintr(void);
    182182/*
    183183 * IP initialization: fill in IP protocol switch table.
     
    612612        struct mbuf *t;
    613613        int hlen = ip->ip_hl << 2;
    614         int i, next;
     614        int i;
     615        int32_t next;
    615616
    616617        /*
Note: See TracChangeset for help on using the changeset viewer.