mirror of
https://github.com/transmission/transmission.git
synced 2025-12-27 05:38:40 +00:00
Align type qualifiers to the right (code style)
This way all the qualifiers (`const`, `volatile`, `mutable`) are grouped together, e.g. `T const* const x` vs. `const T* const x`. Also helps reading types right-to-left, e.g. "constant pointer to constant T" vs. "constant pointer to T which is constant".
This commit is contained in:
@@ -18,4 +18,4 @@ typedef struct dtr_callbacks
|
||||
}
|
||||
dtr_callbacks;
|
||||
|
||||
bool dtr_daemon(const dtr_callbacks* cb, void* cb_arg, bool foreground, int* exit_code, struct tr_error** error);
|
||||
bool dtr_daemon(dtr_callbacks const* cb, void* cb_arg, bool foreground, int* exit_code, struct tr_error** error);
|
||||
|
||||
Reference in New Issue
Block a user