Changeset ffe2541 for examples


Ignore:
Timestamp:
04/27/07 23:05:06 (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:
0f42351
Parents:
cbce651
Message:

More warnings squashed

Location:
examples/rate
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • examples/rate/rate-dir.c

    rd5a27e8 rffe2541  
    8080}
    8181
    82 void secondreport() {
     82static void secondreport() {
    8383        int i;
    8484        static int hdrcount = 10;
  • examples/rate/rate.c

    rd5a27e8 rffe2541  
    6969
    7070
    71 void secondreport() {
     71static void secondreport() {
    7272
    7373        static int hdrcount = 10;
     
    139139                ts = trace_get_seconds(packet);
    140140                if(last_second == 0) {
    141                         last_second = (int)ts;
    142                 } else if (last_second < (int)ts) {
    143                         last_second = (int)ts;
     141                        last_second = ts;
     142                } else if (last_second < ts) {
     143                        last_second = ts;
    144144                        docalc++;
    145145                }
Note: See TracChangeset for help on using the changeset viewer.