Changeset ac0fdbf for lib/format_duck.c


Ignore:
Timestamp:
12/24/06 15:44:41 (14 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:
6ef54f6
Parents:
e7d66bf
Message:

Warning cleanups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_duck.c

    r2595c4d rac0fdbf  
    181181
    182182        if ((numbytes = libtrace_io_read(INPUT->file, packet->payload,
    183                                         duck_size)) != duck_size) {
     183                                        duck_size)) != (int)duck_size) {
    184184                if (numbytes == -1) {
    185185                        trace_set_err(libtrace, errno, "Reading DUCK failed");
     
    245245}
    246246
    247 static int duck_get_framing_length(const libtrace_packet_t *packet) {
    248         return 0;
    249 }
    250 
    251 static int duck_get_wire_length(const libtrace_packet_t *packet) {
    252         return 0;
    253 }
    254 
    255 static libtrace_linktype_t duck_get_link_type(const libtrace_packet_t *packet) {
     247static int duck_get_framing_length(const libtrace_packet_t *packet UNUSED)
     248{
     249        return 0;
     250}
     251
     252static int duck_get_wire_length(const libtrace_packet_t *packet UNUSED)
     253{
     254        return 0;
     255}
     256
     257static libtrace_linktype_t duck_get_link_type(
     258                                const libtrace_packet_t *packet UNUSED)
     259{
    256260        return TRACE_TYPE_DUCK;
    257261}
Note: See TracChangeset for help on using the changeset viewer.