summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin O. Pollard <mp15@sanger.ac.uk>2014-06-11 17:53:22 +0100
committerJim Kukunas <james.t.kukunas@linux.intel.com>2014-07-26 15:53:17 -0700
commite176b3c23ace88d5ded5b8f8371bbab6d7b02ba8 (patch)
treef69949f173e4eebe570661ae7140fbfa007d76ca
parented145f4cf0f3a9f7e5ba4deb637afd2c87d173a1 (diff)
downloadProject-Tick-e176b3c23ace88d5ded5b8f8371bbab6d7b02ba8.tar.gz
Project-Tick-e176b3c23ace88d5ded5b8f8371bbab6d7b02ba8.zip
Add crc_ forward declarations to deflate and add read_buf fwd dcl to fill_window_sse.
-rw-r--r--deflate.c4
-rw-r--r--fill_window_sse.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/deflate.c b/deflate.c
index c1147aaab5..78e32f7ae2 100644
--- a/deflate.c
+++ b/deflate.c
@@ -97,6 +97,10 @@ local void check_match OF((deflate_state *s, IPos start, IPos match,
int length));
#endif
+extern void crc_reset(deflate_state *const s);
+extern void crc_finalize(deflate_state *const s);
+extern void copy_with_crc(z_streamp strm, Bytef *dst, long size);
+
/* ===========================================================================
* Local data
*/
diff --git a/fill_window_sse.c b/fill_window_sse.c
index e07fd1c439..6012fae962 100644
--- a/fill_window_sse.c
+++ b/fill_window_sse.c
@@ -13,6 +13,8 @@
#include <immintrin.h>
#include "deflate.h"
+extern int read_buf OF((z_streamp strm, Bytef *buf, unsigned size));
+
void fill_window_sse(deflate_state *s)
{
z_const __m128i xmm_wsize = _mm_set1_epi16(s->w_size);