Mercurial > hg > th-libs
diff th_util.c @ 469:fe5b803ae449
Rename the global variable th_verbosityLevel to th_verbosity.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 04 Jun 2018 02:41:27 +0300 |
parents | bbe3c9175d77 |
children | 167b66942c24 |
line wrap: on
line diff
--- a/th_util.c Mon Jun 04 02:39:54 2018 +0300 +++ b/th_util.c Mon Jun 04 02:41:27 2018 +0300 @@ -13,7 +13,7 @@ /* Default settings */ static BOOL th_initialized = FALSE; -int th_verbosityLevel = 2; +int th_verbosity = 2; char *th_prog_name = NULL, *th_prog_desc = NULL, *th_prog_version = NULL, @@ -89,7 +89,7 @@ { assert(th_initialized == TRUE); - if (th_verbosityLevel >= level) + if (th_verbosity >= level) { fprintf(stderr, "%s: ", th_prog_name); vfprintf(stderr, fmt, ap); @@ -101,7 +101,7 @@ { assert(th_initialized == TRUE); - if (th_verbosityLevel >= level) + if (th_verbosity >= level) { vfprintf(stderr, fmt, ap); }