Changeset 5478d3d for examples


Ignore:
Timestamp:
09/15/15 17:16:51 (5 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, 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:
8decff7
Parents:
624c2da
Message:

Fix all outstanding warnings

Implemented trace_get_statistics for formats that were missing it, so
we no longer need to use the deprecated trace_get_dropped_packets anywhere
within libtrace.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/parallel/trivial_skeleton.c

    rccb89e4 r5478d3d  
    2222 *   packet -- the packet itself
    2323 */
    24 static libtrace_packet_t *process_packet(libtrace_t *trace,
    25                 libtrace_thread_t *t,
    26                 void *global, void *tls, libtrace_packet_t *packet) {
     24static libtrace_packet_t *process_packet(libtrace_t *trace UNUSED,
     25                libtrace_thread_t *t UNUSED,
     26                void *global UNUSED, void *tls UNUSED,
     27                libtrace_packet_t *packet) {
    2728
    2829        /* Note that in this example, global and tls will both be NULL.
Note: See TracChangeset for help on using the changeset viewer.