Changeset 2595c4d


Ignore:
Timestamp:
11/14/06 13:57:20 (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:
7f85769
Parents:
a7282fb
Message:

Squelch more warnings

Location:
lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lib/format_duck.c

    rcab58c5 r2595c4d  
    237237                case TRACE_RT_DUCK_2_5:
    238238                        return sizeof(duck2_5_t);
     239                default:
     240                        trace_set_err(packet->trace,TRACE_ERR_BAD_PACKET,
     241                                        "Not a duck packet");
     242                        return -1;
    239243        }
    240244        return 0;
  • lib/libtrace.h.in

    rcab58c5 r2595c4d  
    823823 * @return a pointer to an initialised libtrace_packet_t object
    824824 */
    825 DLLEXPORT libtrace_packet_t *trace_create_packet();
     825DLLEXPORT libtrace_packet_t *trace_create_packet(void);
    826826
    827827/** Copy a packet
Note: See TracChangeset for help on using the changeset viewer.