Reduce for loop variables scope

This commit is contained in:
Mike Gelfand
2017-05-14 01:38:31 +03:00
parent 6d5e48f9e2
commit 1e3d20422a
74 changed files with 844 additions and 1435 deletions

View File

@@ -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