Changeset d7e8e67 for tools/tracediff


Ignore:
Timestamp:
03/23/10 11:47:46 (11 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:
ddab7f9
Parents:
f1ab057
Message:

Fix some annoying warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/tracediff/tracediff.c

    r7da2676 rd7e8e67  
    2424 * by the trace format, e.g. the ERF or PCAP header, is not examined.
    2525 */
    26 void per_packet(libtrace_packet_t *a, libtrace_packet_t *b)
     26static void per_packet(libtrace_packet_t *a, libtrace_packet_t *b)
    2727{
    2828        char *buf_a, *buf_b;
     
    7474}
    7575
    76 void usage(char *prog) {
     76static void usage(char *prog) {
    7777        printf("Usage instructions for %s\n\n", prog);
    7878        printf("\t%s [options] traceA traceB\n\n", prog);
     
    8989        libtrace_t *trace[2];
    9090        libtrace_packet_t *packet[2];
    91         int opt, i;
     91        int opt;
    9292       
    9393        if (argc<2) {
Note: See TracChangeset for help on using the changeset viewer.