Changeset 38

Show
Ignore:
Timestamp:
02/09/06 21:29:23 (3 years ago)
Author:
jvargas
Message:

Fixes minor compiler warnings

Location:
trunk/orca
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/orca/op.c

    r36 r38  
    671671} 
    672672 
    673  
     673#if 0 
    674674static int tupleSame( const OValue* a, const OValue* b ) 
    675675{ 
     
    686686    return 0; 
    687687} 
    688  
    689  
    690 static int orTypeEqual( const OValue* a, const OValue* b ) 
     688#endif 
     689 
     690 
     691static int orTypeEqual( OValue* a, OValue* b ) 
    691692{ 
    692693    int logic = 0; 
     
    743744 
    744745 
    745 int orEqual( const OValue* a, const OValue* b ) 
     746int orEqual( OValue* a, OValue* b ) 
    746747{ 
    747748    if( a->type == OT_INTEGER ) 
  • trunk/orca/ovalue.h

    r37 r38  
    397397void    orRegisterPortDevice( OPortDevice* ); 
    398398void    orRegisterFileLoader( int (*func)( const char*, uint8_t*, int ) ); 
    399 int     orEqual( const OValue*, const OValue* ); 
     399int     orEqual( OValue*, OValue* ); 
    400400void    orForm( OString* out, const OValue* val ); 
    401401void    orMold( OString* out, const OValue* val );