Changeset 4796

Show
Ignore:
Timestamp:
05/06/10 15:30:36 (4 years ago)
Author:
soohyunc
Message:

shut off some gcc-4.x warning messages: unused parameters

Location:
vic/branches/cc/cc
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • vic/branches/cc/cc/cc_common.h

    r4794 r4796  
    5353#define BITLEN  16 
    5454 
     55// timestamp skew from Vic to Network Device  
     56// (approximately 10 usec) 
     57#define SKEW 0.000010 
     58 
    5559#endif /* vic_cc_common_h */ 
  • vic/branches/cc/cc/tfwc_sndr.cpp

    r4793 r4796  
    4444#include "tfwc_sndr.h" 
    4545 
    46 // timestamp skew from Vic to Network Device  
    47 // (approximately 10 usec) 
    48 #define SKEW 0.000010 
    49  
    5046/* 
    5147 * retransmission timer 
     
    206202                u_int16_t *chunk, double so_rtime, bool recv_by_ch, pktbuf* pb) 
    207203{ 
     204  UNUSED(recv_by_ch); 
     205  UNUSED(pb); 
     206 
    208207  switch (type) { 
    209208  // retrieve ackvec 
  • vic/branches/cc/cc/tfwc_sndr.h

    r4794 r4796  
    3535#define vic_tfwc_sndr_h 
    3636 
     37#include "config.h" 
    3738#include "bitmap.h"     // bitmap operations 
    3839#include "cc_common.h" 
     
    6465 
    6566        // virtual functions 
    66         virtual void cc_tfwc_output(bool recv_by_ch=0) {}; 
     67        virtual void cc_tfwc_output(bool recv_by_ch=0) {UNUSED(recv_by_ch);}; 
    6768        virtual void cc_tfwc_output(pktbuf*) {}; 
    68         virtual void cc_tfwc_trigger(pktbuf* pb=0) {}; 
     69        virtual void cc_tfwc_trigger(pktbuf* pb=0) {UNUSED(pb);}; 
    6970        virtual double tx_ts_offset() {}; 
    7071        virtual int tx_buf_size() {};