git: 4d4fcf619efc - main - sort: cleanup now unused structutre and prototypes

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Thu, 13 Oct 2022 08:24:23 UTC
The branch main has been updated by bapt:

URL: https://cgit.FreeBSD.org/src/commit/?id=4d4fcf619efcc02a962d0723a7ccd94fb621c6e6

commit 4d4fcf619efcc02a962d0723a7ccd94fb621c6e6
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2022-10-13 08:19:18 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2022-10-13 08:24:11 +0000

    sort: cleanup now unused structutre and prototypes
---
 usr.bin/sort/bwstring.h | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/usr.bin/sort/bwstring.h b/usr.bin/sort/bwstring.h
index 122503fb9f44..0e837c40b266 100644
--- a/usr.bin/sort/bwstring.h
+++ b/usr.bin/sort/bwstring.h
@@ -67,12 +67,6 @@ struct bwstring
 	};
 };
 
-struct reader_buffer
-{
-	wchar_t			*fgetwln_z_buffer;
-	size_t			 fgetwln_z_buffer_size;
-};
-
 typedef void *bwstring_iterator;
 
 #define	BWSLEN(s) ((mb_cur_max == 1) ? (s)->cdata.len : (s)->wdata.len)
@@ -102,7 +96,6 @@ int bwscmp(const struct bwstring *bws1, const struct bwstring *bws2, size_t offs
 int bwsncmp(const struct bwstring *bws1, const struct bwstring *bws2, size_t offset, size_t len);
 int bwscoll(const struct bwstring *bws1, const struct bwstring *bws2, size_t offset);
 size_t bwsfwrite(struct bwstring *bws, FILE *f, bool zero_ended);
-struct bwstring *bwsfgetln(FILE *file, size_t *len, bool zero_ended, struct reader_buffer *rb);
 
 static inline bwstring_iterator
 bws_begin(struct bwstring *bws)