From nobody Tue Dec 07 00:24:47 2021 X-Original-To: dev-commits-src-main@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 F005C18D200B; Tue, 7 Dec 2021 00:24:47 +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 4J7Lf74mgfz3vvw; Tue, 7 Dec 2021 00:24:47 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 844281567D; Tue, 7 Dec 2021 00:24:47 +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 1B70OlCU020820; Tue, 7 Dec 2021 00:24:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B70OlkO020819; Tue, 7 Dec 2021 00:24:47 GMT (envelope-from git) Date: Tue, 7 Dec 2021 00:24:47 GMT Message-Id: <202112070024.1B70OlkO020819@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Jessica Clarke Subject: git: 7d232d647e35 - main - libcrypt: Drop inclusion of libutil.h List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jrtc27 X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7d232d647e3583b495d431b12eaa9343bb29b271 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638836687; 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=UZ+NiJUvk7JQ00j+4+vA/3Hk9/fjY6l5X3ryAaJUUOw=; b=hI6opZUxhedHJ3YFbxHJMGHyeuGT6DP9+6dInmZzT/eNcpuuAm/SshKTBoBnFt6Oq5AFSZ 1zBW1hUkFyxVzxvaJVgMZYudZ0IAJUXld0KTphTM/TsikYdu0Kji5YoW+Cs7OzUUwp23zh jLstOSCqf8ySV6QHhQZRzVi8UtpwC4WFiBHZn8w+x8hE3Li7E2KdQ3sdpRlC3TebjPMesC GsVFQdYpOQh0HlPbxuh/5xY8eQOMsZsqlmeH5beE1RZu8yWVIbPm/JCx8ronQmBcEszz1O Fcs9+INHsS22nzs5YV9QYbczHDK1mhc4IsrloTlYNVmD/7euM1HHdLhS2BxxSg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638836687; a=rsa-sha256; cv=none; b=PpMm9+I5bZOW71Y5qe1PYniIlI0lUIQJXj1vMWiKhW7E2WoglADILKZclHSK00YPReovoj tDo6v/dT1ipwzPd14avoiaT4i6c3/ERB8YYJPiLpoQKSq3c9KErbw4bkAejvEhOxclH/ab +kHaTNxDaaplAvEjUwyBNxrXzjT0Gq+AXF5nf8HOOE27A+8mWvpD/4P/5JW2eIndFA+iis V7hohKGMEqk7I64IYLUBZongGIvLWWgUd+328BlpGbu5tZdu6ZDQk0eQOZsKd6IyySTWr+ 38aAiAU1bIjjVBXeghRwAj2FY9neVzw64g1uYRHv5y6PeQcAbtKtVUyVYyr+qg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jrtc27: URL: https://cgit.FreeBSD.org/src/commit/?id=7d232d647e3583b495d431b12eaa9343bb29b271 commit 7d232d647e3583b495d431b12eaa9343bb29b271 Author: Jessica Clarke AuthorDate: 2021-12-06 22:28:10 +0000 Commit: Jessica Clarke CommitDate: 2021-12-07 00:24:19 +0000 libcrypt: Drop inclusion of libutil.h This was rendered obsolete in 2012 by a0ee974f0bad, since auth_getval was the only reason the header was included. MFC after: 1 week --- lib/libcrypt/Makefile | 2 +- lib/libcrypt/crypt.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/libcrypt/Makefile b/lib/libcrypt/Makefile index f222394b45c3..31346cee2e39 100644 --- a/lib/libcrypt/Makefile +++ b/lib/libcrypt/Makefile @@ -20,7 +20,7 @@ SRCS= crypt.c misc.c \ MAN= crypt.3 MLINKS= crypt.3 crypt_get_format.3 crypt.3 crypt_r.3 \ crypt.3 crypt_set_format.3 -CFLAGS+= -I${SRCTOP}/lib/libmd -I${SRCTOP}/lib/libutil \ +CFLAGS+= -I${SRCTOP}/lib/libmd \ -I${SRCTOP}/sys/crypto/sha2 # Pull in the strong crypto, if it is present. diff --git a/lib/libcrypt/crypt.c b/lib/libcrypt/crypt.c index 8bb3b99e6712..13411321338f 100644 --- a/lib/libcrypt/crypt.c +++ b/lib/libcrypt/crypt.c @@ -32,7 +32,6 @@ __FBSDID("$FreeBSD$"); #include -#include #include #include