Date: Tue, 7 Dec 2021 00:24:47 GMT From: Jessica Clarke <jrtc27@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 7d232d647e35 - main - libcrypt: Drop inclusion of libutil.h Message-ID: <202112070024.1B70OlkO020819@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jrtc27: URL: https://cgit.FreeBSD.org/src/commit/?id=7d232d647e3583b495d431b12eaa9343bb29b271 commit 7d232d647e3583b495d431b12eaa9343bb29b271 Author: Jessica Clarke <jrtc27@FreeBSD.org> AuthorDate: 2021-12-06 22:28:10 +0000 Commit: Jessica Clarke <jrtc27@FreeBSD.org> 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 <sys/types.h> -#include <libutil.h> #include <string.h> #include <unistd.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112070024.1B70OlkO020819>