From e43df07e3725ef6d14a2ca635598c18295b1b481 Mon Sep 17 00:00:00 2001 From: Piotr Pawel Stefaniak Date: Sun, 5 Sep 2021 01:50:58 +0200 Subject: diff: move functions around and reduce their visibility Most of them become static. There will be more such functions added in upcoming commits, so they would be inconsistent with existing code. Improve the existing code instead of reinforcing the unwanted pattern. --- usr.bin/diff/diff.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'usr.bin/diff/diff.h') diff --git a/usr.bin/diff/diff.h b/usr.bin/diff/diff.h index 04e75e631954..7ae700810fc6 100644 --- a/usr.bin/diff/diff.h +++ b/usr.bin/diff/diff.h @@ -102,8 +102,6 @@ extern struct stat stb1, stb2; extern struct excludes *excludes_list; extern regex_t ignore_re; -char *splice(char *, char *); int diffreg(char *, char *, int, int); void diffdir(char *, char *, int); -void print_only(const char *, size_t, const char *); void print_status(int, char *, char *, const char *); -- cgit v1.2.3