Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Feb 2019 21:27:04 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r343979 - head/sys/opencrypto
Message-ID:  <201902102127.x1ALR4NY058291@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marius
Date: Sun Feb 10 21:27:03 2019
New Revision: 343979
URL: https://svnweb.freebsd.org/changeset/base/343979

Log:
  As struct cryptop is wrapped in #ifdef _KERNEL, userland doesn't
  need to drag in <sys/_task.h> either.

Modified:
  head/sys/opencrypto/cryptodev.h

Modified: head/sys/opencrypto/cryptodev.h
==============================================================================
--- head/sys/opencrypto/cryptodev.h	Sun Feb 10 21:22:55 2019	(r343978)
+++ head/sys/opencrypto/cryptodev.h	Sun Feb 10 21:27:03 2019	(r343979)
@@ -63,10 +63,10 @@
 #define _CRYPTO_CRYPTO_H_
 
 #include <sys/ioccom.h>
-#include <sys/_task.h>
 
 #ifdef _KERNEL
 #include <opencrypto/_cryptodev.h>
+#include <sys/_task.h>
 #endif
 
 /* Some initial values */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902102127.x1ALR4NY058291>