]> git.draconx.ca Git - cdecl99.git/blobdiff - t/crossparse.c
Port to use getline.h from dxcommon.
[cdecl99.git] / t / crossparse.c
index 5f7eddc1324d732cda1634039b20465b24b1f725..e143c4a4ccd1c2ab8de36b7d468e5e54cbf7383c 100644 (file)
@@ -28,7 +28,6 @@
 
 #define PROGNAME "crossparse"
 #include "test.h"
-#include "getline.h"
 
 static const char sopts[] = "f:ECVH";
 static const struct option lopts[] = {
@@ -174,7 +173,7 @@ int main(int argc, char **argv)
                char *line = NULL;
                size_t n = 0;
 
-               while (do_getline(&line, &n)) {
+               while (test_getline(&line, &n)) {
                        if (!test_crossparse(line, mode))
                                ret = EXIT_FAILURE;
                }