1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-08 17:22:05 +03:00

New module hashcode-string1.

* lib/hashcode-string1.h: New file.
* lib/hashcode-string1.c: New file, based on lib/hash.c.
* modules/hashcode-string1: New file.
* lib/hash.h: Include hashcode-string1.h.
(hash_string): Remove declaration.
* lib/hash.c (hash_string): Remove function.
* modules/hash (Depends-on): Add hashcode-string1.
* lib/exclude.c: Include hashcode-string1.h.
* modules/exclude (Depends-on): Add hashcode-string1.
This commit is contained in:
Bruno Haible
2025-04-30 12:47:37 +02:00
parent a7785e699a
commit 64042bb91a
9 changed files with 154 additions and 56 deletions

24
modules/hashcode-string1 Normal file
View File

@@ -0,0 +1,24 @@
Description:
Compute a hash value for a NUL-terminated string.
Files:
lib/hashcode-string1.h
lib/hashcode-string1.c
Depends-on:
bitrotate
configure.ac:
gl_MODULE_INDICATOR([hashcode-string1])
Makefile.am:
lib_SOURCES += hashcode-string1.h hashcode-string1.c
Include:
"hashcode-string1.h"
License:
LGPLv2+
Maintainer:
Jim Meyering