mirror of
https://github.com/transmission/transmission
synced 2025-03-10 14:13:23 +00:00
make tr_handleStatus() return a const
This commit is contained in:
parent
fca4411b5c
commit
0dd150844a
2 changed files with 3 additions and 2 deletions
|
@ -264,7 +264,8 @@ void tr_natTraversalEnable( tr_handle * h, int enable )
|
||||||
tr_globalUnlock( h );
|
tr_globalUnlock( h );
|
||||||
}
|
}
|
||||||
|
|
||||||
tr_handle_status * tr_handleStatus( tr_handle * h )
|
const tr_handle_status *
|
||||||
|
tr_handleStatus( tr_handle * h )
|
||||||
{
|
{
|
||||||
tr_handle_status * s;
|
tr_handle_status * s;
|
||||||
|
|
||||||
|
|
|
@ -198,7 +198,7 @@ typedef struct tr_handle_status
|
||||||
}
|
}
|
||||||
tr_handle_status;
|
tr_handle_status;
|
||||||
|
|
||||||
tr_handle_status * tr_handleStatus( tr_handle * );
|
const tr_handle_status * tr_handleStatus( tr_handle * );
|
||||||
|
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
|
|
Loading…
Add table
Reference in a new issue