Changeset 85a79b0 for lib/format_pcap.c


Ignore:
Timestamp:
08/25/06 15:47:43 (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:
e283596
Parents:
e373992
Message:

Fixed lots of warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_pcap.c

    re373992 r85a79b0  
    181181        switch(option) {
    182182                case TRACE_OPTION_FILTER:
    183                         DATA(libtrace)->filter=data;
     183                        DATA(libtrace)->filter=(libtrace_filter_t*)data;
    184184                        return 0;
    185185                case TRACE_OPTION_SNAPLEN:
     
    306306}
    307307
    308 static int pcap_write_packet(libtrace_out_t *libtrace, const libtrace_packet_t *packet) {
     308static int pcap_write_packet(libtrace_out_t *libtrace,
     309                libtrace_packet_t *packet)
     310{
    309311        struct pcap_pkthdr pcap_pkt_hdr;
    310312
     
    366368}
    367369
    368 static int pcapint_write_packet(libtrace_out_t *libtrace, const libtrace_packet_t *packet) {
     370static int pcapint_write_packet(libtrace_out_t *libtrace,
     371                libtrace_packet_t *packet)
     372{
    369373        int err;
    370374
     
    498502}
    499503
    500 static int pcap_get_framing_length(const libtrace_packet_t *packet UNUSED) {
     504static int pcap_get_framing_length(UNUSED const libtrace_packet_t *packet) {
    501505        return sizeof(struct pcap_pkthdr);
    502506}
Note: See TracChangeset for help on using the changeset viewer.