aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_gzio.c
diff options
context:
space:
mode:
authorCraig Rodrigues <rodrigc@FreeBSD.org>2015-04-22 14:38:58 +0000
committerCraig Rodrigues <rodrigc@FreeBSD.org>2015-04-22 14:38:58 +0000
commitd9db52256e500f4f4d86e0f32114c7c459429fbf (patch)
tree44c462be8b6eaae71303d84f50c8563dd734b705 /sys/kern/kern_gzio.c
parente19e6781237224cbc5a103972cf773c0fbb097ac (diff)
downloadsrc-d9db52256e500f4f4d86e0f32114c7c459429fbf.tar.gz
src-d9db52256e500f4f4d86e0f32114c7c459429fbf.zip
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
Notes
Notes: svn path=/head/; revision=281855
Diffstat (limited to 'sys/kern/kern_gzio.c')
-rw-r--r--sys/kern/kern_gzio.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/kern_gzio.c b/sys/kern/kern_gzio.c
index a4974a729c3f..cee21f0655b1 100644
--- a/sys/kern/kern_gzio.c
+++ b/sys/kern/kern_gzio.c
@@ -32,8 +32,7 @@ __FBSDID("$FreeBSD$");
#include <sys/gzio.h>
#include <sys/kernel.h>
#include <sys/malloc.h>
-
-#include <net/zutil.h>
+#include <sys/zutil.h>
#define KERN_GZ_HDRLEN 10 /* gzip header length */
#define KERN_GZ_TRAILERLEN 8 /* gzip trailer length */