#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <errno.h>
#include <getopt.h>
#include "cdecl.h"
#define PROGNAME "normalize"
#include "test.h"
-#include "getline.h"
static const char sopts[] = "f:VH";
static const struct option lopts[] = {
return EXIT_FAILURE;
}
- while (do_getline(&line, &n)) {
+ while (test_getline(&line, &n)) {
if (do_normalize(line, n) < 0)
ret = EXIT_FAILURE;
}