X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/3ece470d21e4fcc14337db1d631290d5e7cd4959..c68d8eba5fe27f4e9ecf4938a6f5a5636d5872d2:/lib/t-printf.c diff --git a/lib/t-printf.c b/lib/t-printf.c index be57bc8..85b85c9 100644 --- a/lib/t-printf.c +++ b/lib/t-printf.c @@ -19,7 +19,7 @@ */ #include "test.h" -void test_printf(void) { +static void test_printf(void) { char c; short s; int i; @@ -32,7 +32,6 @@ void test_printf(void) { char buffer[16]; FILE *fp; - fprintf(stderr, "test_printf\n"); check_string(do_printf("%d", 999), "999"); check_string(do_printf("%d", -999), "-999"); check_string(do_printf("%i", 999), "999"); @@ -132,6 +131,8 @@ void test_printf(void) { fclose(fp); } +TEST(printf); + /* Local Variables: c-basic-offset:2