sys: Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
zlib: Use NO_WDEPRECATED_NON_PROTOTYPEAlso add it to kern.mk so it's available for module builds.Sponsored by: NetflixNoticed by: mjgFixes: b9f235ba3178Differential Revision: https://revie
zlib: Use NO_WDEPRECATED_NON_PROTOTYPEAlso add it to kern.mk so it's available for module builds.Sponsored by: NetflixNoticed by: mjgFixes: b9f235ba3178Differential Revision: https://reviews.freebsd.org/D38550
show more ...
zlib: silence K&R warnsSponsored by: Rubicon Communications, LLC ("Netgate")
Suppress -Wstrict-prototypes for several zlib filesClang 15 is more strict about function definitions not matchingdeclarations, and zlib has a lot of these, but since it is contributedcode (and i
Suppress -Wstrict-prototypes for several zlib filesClang 15 is more strict about function definitions not matchingdeclarations, and zlib has a lot of these, but since it is contributedcode (and in K&R style to boot), suppress those warnings instead.MFC after: 3 days
Remove zlib 1.0.4 from kernel.PR: 229763Reviewed by: emaste, Yoshihiro Ota <ota j email ne jp>Differential Revision: https://reviews.freebsd.org/D21375
Expose zlib's utility functions in Z_SOLO library when building kernel.This allows kernel code to reuse zlib's implementation.PR: 229763Reviewed by: Yoshihiro Ota <ota j email ne jp>Relnotes: y
Expose zlib's utility functions in Z_SOLO library when building kernel.This allows kernel code to reuse zlib's implementation.PR: 229763Reviewed by: Yoshihiro Ota <ota j email ne jp>Relnotes: yesDifferential Revision: https://reviews.freebsd.org/D21156
Allow Kernel to link in both legacy libkern/zlib and new sys/contrib/zlib,with an eventual goal to convert all legacl zlib callers to the new zlibversion: * Move generic zlib shims that are not s
Allow Kernel to link in both legacy libkern/zlib and new sys/contrib/zlib,with an eventual goal to convert all legacl zlib callers to the new zlibversion: * Move generic zlib shims that are not specific to zlib 1.0.4 to sys/dev/zlib. * Connect new zlib (1.2.11) to the zlib kernel module, currently built with Z_SOLO. * Prefix the legacy zlib (1.0.4) with 'zlib104_' namespace. * Convert sys/opencrypto/cryptodeflate.c to use new zlib. * Remove bundled zlib 1.2.3 from ZFS and adapt it to new zlib and make it depend on the zlib module. * Fix Z_SOLO build of new zlib.PR: 229763Submitted by: Yoshihiro Ota <ota j email ne jp>Reviewed by: markm (sys/dev/zlib/zlib_kmod.c)Relnotes: yesDifferential Revision: https://reviews.freebsd.org/D19706
sys/modules: normalize .CURDIR-relative paths to SRCTOPThis simplifies make output/logicTested with: `cd sys/modules; make ALL_MODULES=` on amd64MFC after: 1 monthSponsored by: Dell EMC Isilon
Move zlib.c from net to libkern.
Give zlib the ability to be a module that can be depended on,in the MODULE_DEPEND() sense.