]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
zlib crc32: Add prototypes for recently-added static functions.
authorJohn Baldwin <jhb@FreeBSD.org>
Wed, 28 Sep 2022 21:00:27 +0000 (14:00 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Wed, 28 Sep 2022 21:00:27 +0000 (14:00 -0700)
commit7550e242ab4c118ba48171577ccadf81ba739847
tree5764a7eee657aa5b99e0a1385d48987c0daad96a
parent9c4f7e82348b656aef9660f859b76d6e894590aa
zlib crc32: Add prototypes for recently-added static functions.

This appeases -Wstrict-prototypes with GCC.  Using a separate
prototype using the OF macro seems to be consistent with the rest of
this file which still supports pre-ANSI C.

Reviewed by: imp, emaste
Differential Revision: https://reviews.freebsd.org/D36755
sys/contrib/zlib/crc32.c