diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/common.c | 14 | ||||
| -rw-r--r-- | tests/common.h | 1 |
2 files changed, 0 insertions, 15 deletions
diff --git a/tests/common.c b/tests/common.c index 66516f5..5f6b648 100644 --- a/tests/common.c +++ b/tests/common.c | |||
| @@ -513,20 +513,6 @@ int our_error(unsigned opts, char ** errs, const char * fmt, ...) | |||
| 513 | } | 513 | } |
| 514 | 514 | ||
| 515 | 515 | ||
| 516 | void our_print(unsigned opts, const char * fmt, ...) | ||
| 517 | { | ||
| 518 | va_list args; | ||
| 519 | if ((opts & TRUTILS_OPT_QUIET)) | ||
| 520 | return; | ||
| 521 | printf("%s: ", program_name); | ||
| 522 | va_start(args, fmt); | ||
| 523 | vprintf(fmt, args); | ||
| 524 | va_end(args); | ||
| 525 | printf("\n"); | ||
| 526 | return; | ||
| 527 | } | ||
| 528 | |||
| 529 | |||
| 530 | void our_verbose(unsigned opts, const char * fmt, ...) | 516 | void our_verbose(unsigned opts, const char * fmt, ...) |
| 531 | { | 517 | { |
| 532 | va_list args; | 518 | va_list args; |
diff --git a/tests/common.h b/tests/common.h index 1e3ba57..3f95d13 100644 --- a/tests/common.h +++ b/tests/common.h | |||
| @@ -100,7 +100,6 @@ int our_urldesc_test_good(const char * url, unsigned opts); | |||
| 100 | #pragma mark log functions | 100 | #pragma mark log functions |
| 101 | 101 | ||
| 102 | int our_error(unsigned opts, char ** errs, const char * fmt, ...); | 102 | int our_error(unsigned opts, char ** errs, const char * fmt, ...); |
| 103 | void our_print(unsigned opts, const char * fmt, ...); | ||
| 104 | void our_verbose(unsigned opts, const char * fmt, ...); | 103 | void our_verbose(unsigned opts, const char * fmt, ...); |
| 105 | 104 | ||
| 106 | 105 | ||
