Changeset e6d963c for lib/protocols.c


Ignore:
Timestamp:
05/02/06 00:08:58 (15 years ago)
Author:
Perry Lorier <perry@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
e093e5c
Parents:
ddd01fb
Message:

Style fixes, get rid of unnecessary "struct"'s

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/protocols.c

    rc05dda6 re6d963c  
    379379DLLEXPORT libtrace_tcp_t *trace_get_tcp_from_ip(libtrace_ip_t *ip, uint32_t *remaining)
    380380{
    381         struct libtrace_tcp *tcpptr = 0;
     381        libtrace_tcp_t *tcpptr = 0;
    382382
    383383        if (ip->ip_p == 6)  {
    384                 tcpptr = (struct libtrace_tcp *)
     384                tcpptr = (libtrace_tcp_t *)
    385385                        trace_get_payload_from_ip(ip, NULL, remaining);
    386386        }
     
    403403DLLEXPORT libtrace_udp_t *trace_get_udp_from_ip(libtrace_ip_t *ip, uint32_t *remaining)
    404404{
    405         struct libtrace_udp *udpptr = 0;
     405        libtrace_udp_t *udpptr = 0;
    406406
    407407        if (ip->ip_p == 17) {
Note: See TracChangeset for help on using the changeset viewer.