mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 17:52:43 +00:00
zlib: silence K&R warns
Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
10d16789a3
commit
eca005d853
@ -4099,28 +4099,32 @@ libkern/strtouq.c standard
|
|||||||
libkern/strvalid.c standard
|
libkern/strvalid.c standard
|
||||||
libkern/timingsafe_bcmp.c standard
|
libkern/timingsafe_bcmp.c standard
|
||||||
contrib/zlib/adler32.c optional crypto | geom_uzip | \
|
contrib/zlib/adler32.c optional crypto | geom_uzip | \
|
||||||
mxge | ddb_ctf | gzio | zfs | zlib
|
mxge | ddb_ctf | gzio | zfs | zlib \
|
||||||
|
compile-with "${NORMAL_C} -Wno-deprecated-non-prototype"
|
||||||
contrib/zlib/compress.c optional crypto | geom_uzip | \
|
contrib/zlib/compress.c optional crypto | geom_uzip | \
|
||||||
mxge | ddb_ctf | gzio | zfs | zlib \
|
mxge | ddb_ctf | gzio | zfs | zlib \
|
||||||
compile-with "${NORMAL_C} -Wno-cast-qual"
|
compile-with "${NORMAL_C} -Wno-cast-qual -Wno-deprecated-non-prototype"
|
||||||
contrib/zlib/crc32.c optional crypto | geom_uzip | \
|
contrib/zlib/crc32.c optional crypto | geom_uzip | \
|
||||||
mxge | ddb_ctf | gzio | zfs | zlib \
|
mxge | ddb_ctf | gzio | zfs | zlib \
|
||||||
compile-with "${NORMAL_C} ${NO_WSTRICT_PROTOTYPES}"
|
compile-with "${NORMAL_C} ${NO_WSTRICT_PROTOTYPES}"
|
||||||
contrib/zlib/deflate.c optional crypto | geom_uzip | \
|
contrib/zlib/deflate.c optional crypto | geom_uzip | \
|
||||||
mxge | ddb_ctf | gzio | zfs | zlib \
|
mxge | ddb_ctf | gzio | zfs | zlib \
|
||||||
compile-with "${NORMAL_C} -Wno-cast-qual"
|
compile-with "${NORMAL_C} -Wno-cast-qual -Wno-deprecated-non-prototype"
|
||||||
contrib/zlib/inffast.c optional crypto | geom_uzip | \
|
contrib/zlib/inffast.c optional crypto | geom_uzip | \
|
||||||
mxge | ddb_ctf | gzio | zfs | zlib
|
mxge | ddb_ctf | gzio | zfs | zlib \
|
||||||
|
compile-with "${NORMAL_C} -Wno-deprecated-non-prototype"
|
||||||
contrib/zlib/inflate.c optional crypto | geom_uzip | \
|
contrib/zlib/inflate.c optional crypto | geom_uzip | \
|
||||||
mxge | ddb_ctf | gzio | zfs | zlib
|
mxge | ddb_ctf | gzio | zfs | zlib \
|
||||||
|
compile-with "${NORMAL_C} -Wno-deprecated-non-prototype"
|
||||||
contrib/zlib/inftrees.c optional crypto | geom_uzip | \
|
contrib/zlib/inftrees.c optional crypto | geom_uzip | \
|
||||||
mxge | ddb_ctf | gzio | zfs | zlib
|
mxge | ddb_ctf | gzio | zfs | zlib \
|
||||||
|
compile-with "${NORMAL_C} -Wno-deprecated-non-prototype"
|
||||||
contrib/zlib/trees.c optional crypto | geom_uzip | \
|
contrib/zlib/trees.c optional crypto | geom_uzip | \
|
||||||
mxge | ddb_ctf | gzio | zfs | zlib \
|
mxge | ddb_ctf | gzio | zfs | zlib \
|
||||||
compile-with "${NORMAL_C} ${NO_WSTRICT_PROTOTYPES}"
|
compile-with "${NORMAL_C} ${NO_WSTRICT_PROTOTYPES}"
|
||||||
contrib/zlib/uncompr.c optional crypto | geom_uzip | \
|
contrib/zlib/uncompr.c optional crypto | geom_uzip | \
|
||||||
mxge | ddb_ctf | gzio | zfs | zlib \
|
mxge | ddb_ctf | gzio | zfs | zlib \
|
||||||
compile-with "${NORMAL_C} -Wno-cast-qual"
|
compile-with "${NORMAL_C} -Wno-cast-qual -Wno-deprecated-non-prototype"
|
||||||
contrib/zlib/zutil.c optional crypto | geom_uzip | \
|
contrib/zlib/zutil.c optional crypto | geom_uzip | \
|
||||||
mxge | ddb_ctf | gzio | zfs | zlib \
|
mxge | ddb_ctf | gzio | zfs | zlib \
|
||||||
compile-with "${NORMAL_C} ${NO_WSTRICT_PROTOTYPES}"
|
compile-with "${NORMAL_C} ${NO_WSTRICT_PROTOTYPES}"
|
||||||
|
@ -25,4 +25,6 @@ CWARNFLAGS.crc32.c+=${NO_WSTRICT_PROTOTYPES} # crc32.c:586
|
|||||||
CWARNFLAGS.trees.c+=${NO_WSTRICT_PROTOTYPES} # trees.c:232
|
CWARNFLAGS.trees.c+=${NO_WSTRICT_PROTOTYPES} # trees.c:232
|
||||||
CWARNFLAGS.zutil.c+=${NO_WSTRICT_PROTOTYPES} # zutil.c:27,32
|
CWARNFLAGS.zutil.c+=${NO_WSTRICT_PROTOTYPES} # zutil.c:27,32
|
||||||
|
|
||||||
|
CWARNFLAGS+=-Wno-deprecated-non-prototype
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user