From 1941cb16c7c95d5afa904e99ba6f934a02f372e4 Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Wed, 1 Mar 2017 11:15:38 +0100 Subject: [PATCH] tests: drop the external prefix in gu_err() This function is static so drop the prefix. Signed-off-by: Bartosz Golaszewski --- tests/unit/gpiod-unit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/gpiod-unit.c b/tests/unit/gpiod-unit.c index fbf4656..a667725 100644 --- a/tests/unit/gpiod-unit.c +++ b/tests/unit/gpiod-unit.c @@ -61,7 +61,7 @@ static void GU_PRINTF(1, 2) msg(const char *fmt, ...) va_end(va); } -static void GU_PRINTF(1, 2) gu_err(const char *fmt, ...) +static void GU_PRINTF(1, 2) err(const char *fmt, ...) { va_list va; @@ -387,7 +387,7 @@ int main(int argc GU_UNUSED, char **argv GU_UNUSED) if (!globals.tests_failed) msg("all tests passed"); else - gu_err("%u out of %u tests failed", + err("%u out of %u tests failed", globals.tests_failed, globals.num_tests); return globals.tests_failed ? EXIT_FAILURE : EXIT_SUCCESS; -- 2.30.2