From 7d232d647e3583b495d431b12eaa9343bb29b271 Mon Sep 17 00:00:00 2001 From: Jessica Clarke Date: Mon, 6 Dec 2021 22:28:10 +0000 Subject: [PATCH] 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