Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Oct 2022 08:01:29 GMT
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 713ef741b77d - stable/13 - sort: cleanup now unused structutre and prototypes
Message-ID:  <202210190801.29J81Tve060692@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by bapt:

URL: https://cgit.FreeBSD.org/src/commit/?id=713ef741b77d4a61019fbb900db2b190fed77ccb

commit 713ef741b77d4a61019fbb900db2b190fed77ccb
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2022-10-13 08:19:18 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2022-10-19 07:59:28 +0000

    sort: cleanup now unused structutre and prototypes
    
    (cherry picked from commit 4d4fcf619efcc02a962d0723a7ccd94fb621c6e6)
---
 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 09a0dbf2fac2..129d03ad14b7 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)
@@ -104,7 +98,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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202210190801.29J81Tve060692>