diff options
| author | Mark Adler <git@madler.net> | 2026-01-28 13:18:13 -0800 |
|---|---|---|
| committer | Mark Adler <git@madler.net> | 2026-01-28 13:18:44 -0800 |
| commit | 74377e7215a1f72261d69725007299ac28c0019f (patch) | |
| tree | 4b64c4e6cd840947d1f09b1cf525cd44e7de7f47 | |
| parent | 2f752cea32bc30143bfbc714bc43919f8ca4079c (diff) | |
| download | zlib-74377e7215a1f72261d69725007299ac28c0019f.tar.gz zlib-74377e7215a1f72261d69725007299ac28c0019f.tar.bz2 zlib-74377e7215a1f72261d69725007299ac28c0019f.zip | |
Remove inline keyword from minizip zip.c.
| -rw-r--r-- | contrib/minizip/zip.c | 2 |
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. |
| 1255 | local inline int utf8len(unsigned char const *str, size_t len) { | 1255 | local 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 |
