diff options
| author | Hans Kristian Rosbach <hk-git@circlestorm.org> | 2024-01-04 15:53:15 +0100 |
|---|---|---|
| committer | Hans Kristian Rosbach <hk-github@circlestorm.org> | 2024-01-19 16:58:53 +0100 |
| commit | 9a1722a22fd150d2069bd37a9244d173dde8c01f (patch) | |
| tree | d9b87109220dee0267632ccc6c2c671e39cb05a6 /insert_string.c | |
| parent | 30856c33bfe863e8ccfec8676f2ac7cc9963d921 (diff) | |
| download | Project-Tick-9a1722a22fd150d2069bd37a9244d173dde8c01f.tar.gz Project-Tick-9a1722a22fd150d2069bd37a9244d173dde8c01f.zip | |
Move insert_string and update_hash C fallbacks to arch/generic.
Also add missing insert_string dependencies to windows makefiles.
Diffstat (limited to 'insert_string.c')
| -rw-r--r-- | insert_string.c | 21 |
1 files changed, 0 insertions, 21 deletions
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" |
