diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2015-04-22 14:38:58 +0000 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2015-04-22 14:38:58 +0000 |
commit | 7807fcddc423b01b6c0d930ba53d7c0c95f4e9b2 (patch) | |
tree | 44c462be8b6eaae71303d84f50c8563dd734b705 /sys/opencrypto | |
parent | 00a0d8da1075d911901ebeab996e0d46cc9e0922 (diff) | |
download | FreeBSD-src-7807fcddc423b01b6c0d930ba53d7c0c95f4e9b2.zip FreeBSD-src-7807fcddc423b01b6c0d930ba53d7c0c95f4e9b2.tar.gz |
Move zlib.c from net to libkern.
It is not network-specific code and would
be better as part of libkern instead.
Move zlib.h and zutil.h from net/ to sys/
Update includes to use sys/zlib.h and sys/zutil.h instead of net/
Submitted by: Steve Kiernan stevek@juniper.net
Obtained from: Juniper Networks, Inc.
GitHub Pull Request: https://github.com/freebsd/freebsd/pull/28
Relnotes: yes
Diffstat (limited to 'sys/opencrypto')
-rw-r--r-- | sys/opencrypto/cryptodeflate.c | 4 | ||||
-rw-r--r-- | sys/opencrypto/deflate.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/opencrypto/cryptodeflate.c b/sys/opencrypto/cryptodeflate.c index 0ad86e3..c55210d 100644 --- a/sys/opencrypto/cryptodeflate.c +++ b/sys/opencrypto/cryptodeflate.c @@ -29,7 +29,7 @@ /* * This file contains a wrapper around the deflate algo compression - * functions using the zlib library (see net/zlib.{c,h}) + * functions using the zlib library (see libkern/zlib.c and sys/zlib.h}) */ #include <sys/cdefs.h> @@ -42,7 +42,7 @@ __FBSDID("$FreeBSD$"); #include <sys/kernel.h> #include <sys/sdt.h> #include <sys/systm.h> -#include <net/zlib.h> +#include <sys/zlib.h> #include <opencrypto/cryptodev.h> #include <opencrypto/deflate.h> diff --git a/sys/opencrypto/deflate.h b/sys/opencrypto/deflate.h index dcf7a84..d31a3bf 100644 --- a/sys/opencrypto/deflate.h +++ b/sys/opencrypto/deflate.h @@ -36,7 +36,7 @@ #ifndef _CRYPTO_DEFLATE_H_ #define _CRYPTO_DEFLATE_H_ -#include <net/zlib.h> +#include <sys/zlib.h> #define Z_METHOD 8 #define Z_MEMLEVEL 8 |