git: 713ef741b77d - stable/13 - sort: cleanup now unused structutre and prototypes
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 19 Oct 2022 08:01:29 UTC
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)