summaryrefslogtreecommitdiff
path: root/deflate_p.h
diff options
context:
space:
mode:
authorMika Lindqvist <postmaster@raasu.org>2015-11-22 17:15:58 +0200
committerHans Kristian Rosbach <hk-git@circlestorm.org>2017-01-30 10:35:05 +0100
commit631817cce8dca45d6f725da143ab5fa580a9d5b0 (patch)
tree564f94aba9af7df1274522b5b7755e669428d69d /deflate_p.h
parent343c4c549107d31f6eeabfb4b31bec4502a2ea0e (diff)
local -> static
* local -> static * Normalize and cleanup line-endings * Fix warnings under Visual Studio. * Whitespace cleanup *** This patch has been edited to merge cleanly and to exclude type changes. Based on 8d7a7c3b82c6e38734bd504dac800b148ab410d0 "Type Cleanup"
Diffstat (limited to 'deflate_p.h')
-rw-r--r--deflate_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/deflate_p.h b/deflate_p.h
index 4b8282d..d5e315c 100644
--- a/deflate_p.h
+++ b/deflate_p.h
@@ -36,7 +36,7 @@ void flush_pending(z_stream *strm);
extern Pos insert_string_sse(deflate_state *const s, const Pos str, uInt count);
#endif
-local inline Pos insert_string_c(deflate_state *const s, const Pos str, uInt count) {
+static inline Pos insert_string_c(deflate_state *const s, const Pos str, uInt count) {
Pos ret = 0;
uInt idx;
@@ -51,7 +51,7 @@ local inline Pos insert_string_c(deflate_state *const s, const Pos str, uInt cou
return ret;
}
-local inline Pos insert_string(deflate_state *const s, const Pos str) {
+static inline Pos insert_string(deflate_state *const s, const Pos str) {
#ifdef X86_SSE4_2_CRC_HASH
if (x86_cpu_has_sse42)
return insert_string_sse(s, str, 1);
@@ -60,7 +60,7 @@ local inline Pos insert_string(deflate_state *const s, const Pos str) {
}
#ifndef NOT_TWEAK_COMPILER
-local inline void bulk_insert_str(deflate_state *const s, Pos startpos, uInt count) {
+static inline void bulk_insert_str(deflate_state *const s, Pos startpos, uInt count) {
# ifdef X86_SSE4_2_CRC_HASH
if (x86_cpu_has_sse42) {
insert_string_sse(s, startpos, count);