diff options
author | Warner Losh <imp@FreeBSD.org> | 2022-12-05 23:55:04 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2022-12-05 23:59:58 +0000 |
commit | 6b574b3ba99af4ae81d4c619057e737e67523907 (patch) | |
tree | 5fcf87130ceba88f27c7f7cf12d9f161f700472e | |
parent | 335615c4cad79765b46048bfa782120fd9cadb95 (diff) | |
download | src-6b574b3ba99af4ae81d4c619057e737e67523907.tar.gz src-6b574b3ba99af4ae81d4c619057e737e67523907.zip |
stand/zlib: Document the upstream issue behind NO_DEPRECATED_NON_PROTOTYPE
The zlib project has issue https://github.com/madler/zlib/issues/633 to
document its continued use of old K&R-style function definitions.
Suggested by: delphij@
Sponsored by: Netflix
-rw-r--r-- | stand/libsa/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stand/libsa/Makefile b/stand/libsa/Makefile index 4eccf0f9b132..8248c4a1ba74 100644 --- a/stand/libsa/Makefile +++ b/stand/libsa/Makefile @@ -95,6 +95,8 @@ SRCS+=${i} .endfor # decompression functionality from zlib +# https://github.com/madler/zlib/issues/633 documents why we suppress deprecated +# prototype warnings. .PATH: ${SRCTOP}/sys/contrib/zlib ZLIB_CFLAGS=-DHAVE_MEMCPY -I${SRCTOP}/sys/contrib/zlib ${NO_WDEPRECATED_NON_PROTOTYPE} .for i in adler32.c crc32.c infback.c inffast.c inflate.c inftrees.c zutil.c |