Changeset d36a8c6 for lib/linktypes.c


Ignore:
Timestamp:
04/03/07 10:41:05 (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:
33dff53
Parents:
4c00a35
Message:

Declare functions before their first use

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/linktypes.c

    r4c00a35 rd36a8c6  
    9393}
    9494
    95 libtrace_dlt_t libtrace_to_pcap_linktype(libtrace_linktype_t type)
    96 {
    97         return pcap_dlt_to_pcap_linktype(libtrace_to_pcap_dlt(type));
    98 }
    99 
    10095static libtrace_dlt_t pcap_dlt_to_pcap_linktype(libtrace_dlt_t linktype)
    10196{
     
    105100                                    return linktype;
    106101        }
     102}
     103
     104libtrace_dlt_t libtrace_to_pcap_linktype(libtrace_linktype_t type)
     105{
     106        return pcap_dlt_to_pcap_linktype(libtrace_to_pcap_dlt(type));
    107107}
    108108
Note: See TracChangeset for help on using the changeset viewer.