Added missing 'const' qualifiers.

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@124 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Marcel Telka 23 years ago
parent c01ba4b1a2
commit 179bf1196d

@ -35,7 +35,7 @@ tap_register *register_alloc( int len );
tap_register *register_duplicate( const tap_register *tr );
void register_free( tap_register *tr );
tap_register *register_fill( tap_register *tr, int val );
const char *register_get_string( tap_register *tr );
const char *register_get_string( const tap_register *tr );
tap_register *register_init( tap_register *tr, const char *value );
int register_compare( const tap_register *tr, const tap_register *tr2 );
int register_match( const tap_register *tr, const char *expr );

@ -87,7 +87,7 @@ register_fill( tap_register *tr, int val )
}
const char *
register_get_string( tap_register *tr )
register_get_string( const tap_register *tr )
{
int i;
@ -149,7 +149,7 @@ int
register_match( const tap_register *tr, const char *expr )
{
int i;
char *s;
const char *s;
if (!tr || !expr || (tr->len != strlen( expr )))
return 0;

Loading…
Cancel
Save