}
do {
- file = bb_wfopen(*argv, "r");
+ file = fopen_or_warn(*argv, "r");
if (file) {
PIPE:
count = 0;
}
count++;
} while (c != EOF);
- bb_fclose_nonstdin(file);
+ fclose_if_not_stdin(file);
} else {
status = EXIT_FAILURE;
}
if (ENABLE_FEATURE_CLEAN_UP)
free(string);
- bb_fflush_stdout_and_exit(status);
+ fflush_stdout_and_exit(status);
}