mirror of
https://github.com/transmission/transmission
synced 2025-02-21 13:46:52 +00:00
(trunk libT) mark the two "progress" args to tr_torrentSetLocation() as volatile.
This commit is contained in:
parent
33422cc9d5
commit
e77a627d3c
2 changed files with 12 additions and 12 deletions
|
@ -2808,8 +2808,8 @@ tr_torrentDeleteLocalData( tr_torrent * tor, tr_fileFunc fileFunc )
|
|||
struct LocationData
|
||||
{
|
||||
tr_bool move_from_old_location;
|
||||
int * setme_state;
|
||||
double * setme_progress;
|
||||
volatile int * setme_state;
|
||||
volatile double * setme_progress;
|
||||
char * location;
|
||||
tr_torrent * tor;
|
||||
};
|
||||
|
@ -2905,11 +2905,11 @@ setLocation( void * vdata )
|
|||
}
|
||||
|
||||
void
|
||||
tr_torrentSetLocation( tr_torrent * tor,
|
||||
const char * location,
|
||||
tr_bool move_from_old_location,
|
||||
double * setme_progress,
|
||||
int * setme_state )
|
||||
tr_torrentSetLocation( tr_torrent * tor,
|
||||
const char * location,
|
||||
tr_bool move_from_old_location,
|
||||
volatile double * setme_progress,
|
||||
volatile int * setme_state )
|
||||
{
|
||||
struct LocationData * data;
|
||||
|
||||
|
|
|
@ -1068,11 +1068,11 @@ enum
|
|||
* will be clobberred s.t. additional files being added will be saved
|
||||
* to the torrent's downloadDir.
|
||||
*/
|
||||
void tr_torrentSetLocation( tr_torrent * torrent,
|
||||
const char * location,
|
||||
tr_bool move_from_previous_location,
|
||||
double * setme_progress,
|
||||
int * setme_state );
|
||||
void tr_torrentSetLocation( tr_torrent * torrent,
|
||||
const char * location,
|
||||
tr_bool move_from_previous_location,
|
||||
volatile double * setme_progress,
|
||||
volatile int * setme_state );
|
||||
|
||||
uint64_t tr_torrentGetBytesLeftToAllocate( const tr_torrent * torrent );
|
||||
|
||||
|
|
Loading…
Reference in a new issue