mirror of
https://github.com/transmission/transmission.git
synced 2026-05-08 09:39:08 +01:00
refactor: prefer "using" over "typedef" (#1883)
* refactor: prefer "using" over "typedef"
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
#include "bitfield.h"
|
||||
#include "utils.h" /* tr_getRatio() */
|
||||
|
||||
typedef struct tr_completion
|
||||
struct tr_completion
|
||||
{
|
||||
tr_torrent* tor;
|
||||
|
||||
@@ -40,7 +40,7 @@ typedef struct tr_completion
|
||||
|
||||
/* number of bytes we want or have now. [0..sizeWhenDone] */
|
||||
uint64_t sizeNow;
|
||||
} tr_completion;
|
||||
};
|
||||
|
||||
/**
|
||||
*** Life Cycle
|
||||
|
||||
Reference in New Issue
Block a user