From 9a1722a22fd150d2069bd37a9244d173dde8c01f Mon Sep 17 00:00:00 2001 From: Hans Kristian Rosbach Date: Thu, 4 Jan 2024 15:53:15 +0100 Subject: Move insert_string and update_hash C fallbacks to arch/generic. Also add missing insert_string dependencies to windows makefiles. --- insert_string.c | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 insert_string.c (limited to 'insert_string.c') diff --git a/insert_string.c b/insert_string.c deleted file mode 100644 index cfe39837f8..0000000000 --- a/insert_string.c +++ /dev/null @@ -1,21 +0,0 @@ -/* insert_string.c -- insert_string integer hash variant - * - * Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler - * For conditions of distribution and use, see copyright notice in zlib.h - * - */ - -#include "zbuild.h" -#include "deflate.h" - -#define HASH_SLIDE 16 - -#define HASH_CALC(s, h, val) h = ((val * 2654435761U) >> HASH_SLIDE); -#define HASH_CALC_VAR h -#define HASH_CALC_VAR_INIT uint32_t h = 0 - -#define UPDATE_HASH update_hash_c -#define INSERT_STRING insert_string_c -#define QUICK_INSERT_STRING quick_insert_string_c - -#include "insert_string_tpl.h" -- cgit 0.0.5-2-1-g0f52