From nobody Thu Oct 13 08:24:23 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Mp2cR34PMz4fQ68; Thu, 13 Oct 2022 08:24:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Mp2cR1s4vz3qW2; Thu, 13 Oct 2022 08:24:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665649463; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6RvHfl/NYrievZXiXeXuxE155foMZMm5L7R4iX6lTNw=; b=DEMDSvqGt5Fv9B7aX18+vBGc3nIgFQ83HCXdVjaOdC4kf9QM+/6ziV5jmyjT7oT5UlY/3w p0JQMApXQosGm51lxkPdTcFcgygHZipduzKPrX71m6QsiAVmtnv+QegSldE+ZZxCxWytYK OW5g0QzMwB63I+Fo4NqcUcaw0sVfYVhvglDPTWnveYJHlxnclXh8H8Uvzp9gB6ZxALgCyZ tC9Oc2EDFNd6Fb4AfaacRjzqykKkJoslCUd2ckbRwbIOEDqUIwICGMpg2BhZUUIf6imBKh A0bHp0pxqODWWXJREQ0Zx2c0pEjrHinzXsK5AkmKqH26M0xDOxOj0wr7pmXc1w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Mp2cR0xt4zMZK; Thu, 13 Oct 2022 08:24:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 29D8ON1g075658; Thu, 13 Oct 2022 08:24:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29D8ON9I075657; Thu, 13 Oct 2022 08:24:23 GMT (envelope-from git) Date: Thu, 13 Oct 2022 08:24:23 GMT Message-Id: <202210130824.29D8ON9I075657@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Baptiste Daroussin Subject: git: 4d4fcf619efc - main - sort: cleanup now unused structutre and prototypes List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bapt X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4d4fcf619efcc02a962d0723a7ccd94fb621c6e6 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665649463; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6RvHfl/NYrievZXiXeXuxE155foMZMm5L7R4iX6lTNw=; b=gKl81Ku8iDAqtoy84Nv0fhdGcS6sPQY3a9XVPi5jn3eo7Su03z0ysR8PVUoFeOBU3QxbAc 7uCLF7sP2wQtXsTuTuK956m2Dpiir11jdKXH9J4GmvQaAlHLb5zL/I1iGPLos3FmksrGlc 07JjQEZnkj6VznggeaphgC1UM+CNohBSswdpLpXqxqXBbCfufVfD2TNpaRv8vjrckWdAfc QN0JAl5CxsaLTA/yzNeVrWATBW4Z4LneW6EipDpMVMpyh2qEWOq9cr3iZha42b55ewmV1i eKr+So/YTXKIe9SJakB+KC5wvTupDNf/UpDTRn0t8izskf6dp6Cy55iDFnH8Xg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665649463; a=rsa-sha256; cv=none; b=iLLs+v/U8vE6amfWjR0jVxdLtsSxbikMEs+/JcjQLiEp86sUFGXKxW4mRQgjVxcCHsW/ru fxDWg+Q8hFFWsG3LwozTm3nOLt/TnyshzbVwuGJjaZjXVz6MGA7/ScRQ0nAb5ez+fG3jiB 7sjwjhRw3booZ82AEQ+EZLCaF6MiEep4n8DKB2sb+0BxnC0UgtPFsZlJgqb3Z9eFGLDJ1Q A1kl9lMIwfSAHbf7IKYXFXzM2GgsqD3iOIFFHY8CtnhsWTBgd5L0sXljU8KiNQRKKpjusu 5IHZsFJnKX+q6Y8RItmszGXxNFwT1FiWTm7LhxfianFHYT4I+677c+safg9fSg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/src/commit/?id=4d4fcf619efcc02a962d0723a7ccd94fb621c6e6 commit 4d4fcf619efcc02a962d0723a7ccd94fb621c6e6 Author: Baptiste Daroussin AuthorDate: 2022-10-13 08:19:18 +0000 Commit: Baptiste Daroussin 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)