Ignore:
Timestamp:
10/27/08 13:38:07 (5 years ago)
Author:
BrainSlayer
Message:

quagga update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/router/quagga/lib/thread.c

    r10334 r10627  
    229229 
    230230static int  
    231 cpu_record_hash_cmp (struct cpu_thread_history *a, 
    232                      struct cpu_thread_history *b) 
     231cpu_record_hash_cmp (const struct cpu_thread_history *a, 
     232                     const struct cpu_thread_history *b) 
    233233{ 
    234234  return a->func == b->func; 
     
    418418    cpu_record  
    419419      = hash_create_size (1011, (unsigned int (*) (void *))cpu_record_hash_key,  
    420                           (int (*) (void *, void *))cpu_record_hash_cmp); 
     420                          (int (*) (const void *, const void *))cpu_record_hash_cmp); 
    421421     
    422422  return (struct thread_master *) XCALLOC (MTYPE_THREAD_MASTER, 
Note: See TracChangeset for help on using the changeset viewer.