mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
Reduce for loop variables scope
This commit is contained in:
@@ -134,6 +134,8 @@ char const* tr_strip_positional_args(char const* fmt);
|
||||
*****
|
||||
****/
|
||||
|
||||
#define TR_N_ELEMENTS(ary) (sizeof(ary) / sizeof(*(ary)))
|
||||
|
||||
/**
|
||||
* @brief Rich Salz's classic implementation of shell-style pattern matching for ?, \, [], and * characters.
|
||||
* @return 1 if the pattern matches, 0 if it doesn't, or -1 if an error occured
|
||||
|
||||
Reference in New Issue
Block a user