Mercurial > hg > th-libs
diff tests.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 | 6d44592cdab1 |
children | 185a6ea03fea |
line wrap: on
line diff
--- a/tests.c Mon Jun 04 02:39:54 2018 +0300 +++ b/tests.c Mon Jun 04 02:41:27 2018 +0300 @@ -49,7 +49,7 @@ BOOL tprintv(const int level, const char *fmt, va_list ap) { - if (level <= th_verbosityLevel) + if (level <= th_verbosity) { vfprintf(stdout, fmt, ap); return TRUE; @@ -87,7 +87,7 @@ break; case 1: - th_verbosityLevel++; + th_verbosity++; break; case 2: @@ -335,7 +335,7 @@ // Initialization // th_init("th-test", "th-libs unit tests", "0.1", NULL, NULL); - th_verbosityLevel = 0; + th_verbosity = 0; if (sizeof(char) != sizeof(unsigned char)) {