git: 46f69eba96fd - main - opencrypto/xform_*.h: Trim scope of included headers.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Tue, 25 Jan 2022 23:22:01 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=46f69eba96fddbbbd6b31800c47a25e91d0a04f2

commit 46f69eba96fddbbbd6b31800c47a25e91d0a04f2
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-01-25 23:21:22 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-01-25 23:21:22 +0000

    opencrypto/xform_*.h: Trim scope of included headers.
    
    Reviewed by:    markj, emaste
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D34022
---
 sys/opencrypto/xform_auth.h | 3 +--
 sys/opencrypto/xform_comp.h | 3 +--
 sys/opencrypto/xform_enc.h  | 4 ++--
 3 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/sys/opencrypto/xform_auth.h b/sys/opencrypto/xform_auth.h
index 859e451fcc0d..321b97c6c47b 100644
--- a/sys/opencrypto/xform_auth.h
+++ b/sys/opencrypto/xform_auth.h
@@ -31,8 +31,7 @@
 #ifndef _CRYPTO_XFORM_AUTH_H_
 #define _CRYPTO_XFORM_AUTH_H_
 
-#include <sys/malloc.h>
-#include <sys/errno.h>
+#include <sys/types.h>
 
 #include <crypto/sha1.h>
 #include <crypto/sha2/sha224.h>
diff --git a/sys/opencrypto/xform_comp.h b/sys/opencrypto/xform_comp.h
index 11bf59a94b39..90705fac7270 100644
--- a/sys/opencrypto/xform_comp.h
+++ b/sys/opencrypto/xform_comp.h
@@ -31,8 +31,7 @@
 #ifndef _CRYPTO_XFORM_COMP_H_
 #define _CRYPTO_XFORM_COMP_H_
 
-#include <sys/malloc.h>
-#include <sys/errno.h>
+#include <sys/types.h>
 
 #include <opencrypto/deflate.h>
 #include <opencrypto/cryptodev.h>
diff --git a/sys/opencrypto/xform_enc.h b/sys/opencrypto/xform_enc.h
index 5bcd144c410d..870de7118dd6 100644
--- a/sys/opencrypto/xform_enc.h
+++ b/sys/opencrypto/xform_enc.h
@@ -31,8 +31,8 @@
 #ifndef _CRYPTO_XFORM_ENC_H_
 #define _CRYPTO_XFORM_ENC_H_
 
-#include <sys/malloc.h>
-#include <sys/errno.h>
+#include <sys/types.h>
+
 #include <crypto/rijndael/rijndael.h>
 #include <crypto/camellia/camellia.h>
 #include <opencrypto/cryptodev.h>