Ignore:
Timestamp:
07/27/10 17:06:31 (11 years ago)
Author:
Shane Alcock <salcock@…>
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:
f724640
Parents:
8608a0fa
Message:
  • Fix warnings in tutorial code
File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/tutorial/readdemo.c

    r8835f5a rd025ff7  
    66#include <inttypes.h>
    77#include <err.h>
     8#include <assert.h>
    89
    910uint64_t count = 0;
     
    1213static void per_packet(libtrace_packet_t *packet)
    1314{
     15        assert(packet);
    1416        /* This function turns out to be really simple, because we are just
    1517         * counting the number of packets in the trace */
Note: See TracChangeset for help on using the changeset viewer.