]> git.draconx.ca Git - cdecl99.git/blobdiff - t/rendertest.c
Port to use getline.h from dxcommon.
[cdecl99.git] / t / rendertest.c
index 00e0c59f0a7981e4d5f2b3cdc32280b4961cfc25..e64526feb84d5f2a8bdac4b9acdb44177c3cb5dd 100644 (file)
@@ -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;
        }