aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Adler <git@madler.net>2026-01-28 13:18:13 -0800
committerMark Adler <git@madler.net>2026-01-28 13:18:44 -0800
commit74377e7215a1f72261d69725007299ac28c0019f (patch)
tree4b64c4e6cd840947d1f09b1cf525cd44e7de7f47
parent2f752cea32bc30143bfbc714bc43919f8ca4079c (diff)
downloadzlib-74377e7215a1f72261d69725007299ac28c0019f.tar.gz
zlib-74377e7215a1f72261d69725007299ac28c0019f.tar.bz2
zlib-74377e7215a1f72261d69725007299ac28c0019f.zip
Remove inline keyword from minizip zip.c.
-rw-r--r--contrib/minizip/zip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/minizip/zip.c b/contrib/minizip/zip.c
index 37cafbf8..b6c7550e 100644
--- a/contrib/minizip/zip.c
+++ b/contrib/minizip/zip.c
@@ -1252,7 +1252,7 @@ local int Write_LocalFileHeader(zip64_internal* zi, const char* filename, uInt s
1252// of bytes examined in order to determine it was bad. Or if minus the return 1252// of bytes examined in order to determine it was bad. Or if minus the return
1253// code is one less than len, then at least one more byte than provided would 1253// code is one less than len, then at least one more byte than provided would
1254// be needed to complete the code. 1254// be needed to complete the code.
1255local inline int utf8len(unsigned char const *str, size_t len) { 1255local int utf8len(unsigned char const *str, size_t len) {
1256 return 1256 return
1257 len == 0 ? -1 : // empty input 1257 len == 0 ? -1 : // empty input
1258 str[0] < 0x80 ? 1 : // good one-byte 1258 str[0] < 0x80 ? 1 : // good one-byte