X-Git-Url: https://git.draconx.ca/gitweb/cdecl99.git/blobdiff_plain/4ef59e97312cf3e8f537643c65bc2fef057b786b..481f693b0400b05586d90f60494e0e661ad8a1c1:/t/rendertest.c diff --git a/t/rendertest.c b/t/rendertest.c index 00e0c59..e64526f 100644 --- a/t/rendertest.c +++ b/t/rendertest.c @@ -27,7 +27,6 @@ #define PROGNAME "rendertest" #include "test.h" -#include "getline.h" static const char sopts[] = "n:ECVH"; static const struct option lopts[] = { @@ -131,7 +130,7 @@ int main(int argc, char **argv) * will hit a bug in AIX 7.2 getline and fall into an infinite loop. */ line = malloc_nofail((sz = MAX(n+1, 10))); - while (do_getline(&line, &sz)) { + while (test_getline(&line, &sz)) { if (do_test(line, n, mode) < 0) ret = EXIT_FAILURE; }