From nobody Mon Sep 30 03:36:05 2024 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 4XH6DQ2PZDz5XfNr; Mon, 30 Sep 2024 03:36:06 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XH6DQ15gTz43cN; Mon, 30 Sep 2024 03:36:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727667366; 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=jZKgSWGEuF4OSP+n5fWZp8YvgwmCoQI+fz1zmddlc0A=; b=RtAPUiyq9QxRqGm5J9H+9pE6P03Es2QEUBtpE6z9Whw57lvIkXDFRhqkPRj3tUeTkaJQFG 6gp+zRcFOyGzsYx8V2LVaMLY0ps213vx1D9Ow8aNOmzTJvFSVRu9BV8sMBZNnvk1DgjJzA DIqshZxwG16Zxo8lOu8+tjbcSgfit5KkmEZDoZ0mv2aUuknfDOOgV+iHz32l4L4iqsrtx4 AONY8sOUVJpVfnBZ096JTiMMeNHJ8g3BMtqU6xoixE1MdoQKazHdE9jUttjJ3g3Z24fkuE hv1z/cBTkMW+HU3wpbx7OZKkbfYPn/AfemfaKUDQGEi6ImTAWTE4/6hfvnas2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727667366; 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=jZKgSWGEuF4OSP+n5fWZp8YvgwmCoQI+fz1zmddlc0A=; b=PiymNjZLJlgPm9xTlJBJM0IYpZ795bx+ya7LPRl7NiNfSjeSmuq1P6EIYeeySqMNEP9cE+ ZET2YTqFMmA2TLCs5w31l1XsvoVMdwstuO0QSqURKoUFQ34LpKSjZsxRRrReLLpOv2ttFy llFoPO8XVHPhYRsEz+5fSfXkqGsJ5qlmqPz5WOWjIECKiFWUulIIYEAl7Y/O/fYBQ95YOv WzWVEkQRPRehsz69Dk8tv/mjsEzxgOpPPIgYYmnfaqVUQ/0SYirp4WWwwR8PeM9ZNZaetJ 5sTv1IqvjTiCXfZshQuF30NviMIlCDONDfR4j2agArHn0795stGtsAuAuQxnlg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727667366; a=rsa-sha256; cv=none; b=SIZLGcYObJcE4I7MDLrSFgm4xY6Rz3jzYJyLLOgxQCUGYBrG2Hls9AOwr4HlxlNiiffTvu JzUhoa3bXq5QNngogyKMFp1g8FgIGqcz+d2L52PUucPd5gAHSVo6H40a0BwSltpEczO6so iYlthjZKt1OTXzsVQRr9oGqvC8Zj/R9qcN29cZD7nmK9ZjXNg0EtqRpRBTomVOA2KryYVN WYXCzGWJjO00qIupoeALN+sRq412mXoEmSIMbn7t2uTfKh6oPwuBSqYpy9pz/Y3EG8iMqj hmJhGVnjoLbfJyuZRfVxS5ELeQbl/jJ6uWkFcES084U/I6AAB7XgNk5IW+GphQ== 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 4XH6DP6bLCzcjL; Mon, 30 Sep 2024 03:36:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 48U3a5kP067008; Mon, 30 Sep 2024 03:36:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48U3a5Ct067005; Mon, 30 Sep 2024 03:36:05 GMT (envelope-from git) Date: Mon, 30 Sep 2024 03:36:05 GMT Message-Id: <202409300336.48U3a5Ct067005@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kyle Evans Subject: git: d61f4b481f48 - main - libmd: stop exporting _block symbols 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kevans X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d61f4b481f4876a8640830f9b06c8ffa2bdcae7d Auto-Submitted: auto-generated The branch main has been updated by kevans: URL: https://cgit.FreeBSD.org/src/commit/?id=d61f4b481f4876a8640830f9b06c8ffa2bdcae7d commit d61f4b481f4876a8640830f9b06c8ffa2bdcae7d Author: Kyle Evans AuthorDate: 2022-03-08 15:52:01 +0000 Commit: Kyle Evans CommitDate: 2024-09-30 03:34:18 +0000 libmd: stop exporting _block symbols These are needed across compilation units so we can keep the _libmd_ prefixing bits (though I suspect we're not likely to collide), but we don't need to be exporting the unprefixed versions of these; it's an implementation detail. PR: 280784 (exp-run) Reviewed by: delphij, fuz Differential Revision: https://reviews.freebsd.org/D34498 --- lib/libmd/rmd160c.c | 2 -- lib/libmd/sha1c.c | 4 ---- 2 files changed, 6 deletions(-) diff --git a/lib/libmd/rmd160c.c b/lib/libmd/rmd160c.c index 66ba0a5e5c72..afc20545dd3d 100644 --- a/lib/libmd/rmd160c.c +++ b/lib/libmd/rmd160c.c @@ -544,6 +544,4 @@ __weak_reference(_libmd_RIPEMD160_Final, RIPEMD160_Final); __weak_reference(_libmd_RIPEMD160_Transform, RIPEMD160_Transform); #undef RMD160_version __weak_reference(_libmd_RMD160_version, RMD160_version); -#undef ripemd160_block -__weak_reference(_libmd_ripemd160_block, ripemd160_block); #endif diff --git a/lib/libmd/sha1c.c b/lib/libmd/sha1c.c index 299a9149be4a..42b554c83ed1 100644 --- a/lib/libmd/sha1c.c +++ b/lib/libmd/sha1c.c @@ -487,8 +487,6 @@ __weak_reference(_libmd_SHA_Final, SHA_Final); __weak_reference(_libmd_SHA_Transform, SHA_Transform); #undef SHA_version __weak_reference(_libmd_SHA_version, SHA_version); -#undef sha_block -__weak_reference(_libmd_sha_block, sha_block); #undef SHA1_Init __weak_reference(_libmd_SHA1_Init, SHA1_Init); #undef SHA1_Update @@ -499,6 +497,4 @@ __weak_reference(_libmd_SHA1_Final, SHA1_Final); __weak_reference(_libmd_SHA1_Transform, SHA1_Transform); #undef SHA1_version __weak_reference(_libmd_SHA1_version, SHA1_version); -#undef sha1_block -__weak_reference(_libmd_sha1_block, sha1_block); #endif