diff options
author | cvs2svn <> | 2003-05-09 11:36:10 +0000 |
---|---|---|
committer | cvs2svn <> | 2003-05-09 11:36:10 +0000 |
commit | 78a97d37bbe1abae26cc68ad87c93e80a69b08df (patch) | |
tree | a513d2c34ad82b285d4f12e65c34082324daec7c /include/hashtab.h | |
parent | 7133c258c527e353cd426ac59f258130ffbe80bd (diff) | |
download | newlib-78a97d37bbe1abae26cc68ad87c93e80a69b08df.zip newlib-78a97d37bbe1abae26cc68ad87c93e80a69b08df.tar.gz newlib-78a97d37bbe1abae26cc68ad87c93e80a69b08df.tar.bz2 |
This commit was manufactured by cvs2svn to create branch 'jimb-jimb-ppc64-linux-20030509-branchpointgithub/jimb-ppc64-linux-20030509-branchjimb-ppc64-linux-20030509-branch
ppc64-linux-20030509-branch'.
Sprout from binutils-2_14-branch 2003-04-24 12:36:09 UTC cvs2svn 'This commit was manufactured by cvs2svn to create branch 'binutils-'
Cherrypick from master 2003-05-09 11:36:09 UTC Alan Modra <modra@gmail.com> ' * xtensa-isa-internal.h (xtensa_isa_module_struct): Remove const on':
ChangeLog
MAINTAINERS
Makefile.in
Makefile.tpl
config-ml.in
djunpack.bat
include/ChangeLog
include/bfdlink.h
include/gdb/ChangeLog
include/gdb/sim-d10v.h
include/hashtab.h
include/xtensa-isa-internal.h
src-release
Diffstat (limited to 'include/hashtab.h')
-rw-r--r-- | include/hashtab.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/hashtab.h b/include/hashtab.h index 7acb5eb..f7bd4ae 100644 --- a/include/hashtab.h +++ b/include/hashtab.h @@ -183,6 +183,11 @@ extern htab_eq htab_eq_pointer; /* A hash function for null-terminated strings. */ extern hashval_t htab_hash_string PARAMS ((const PTR)); +/* An iterative hash function for arbitrary data. */ +extern hashval_t iterative_hash PARAMS ((const PTR, size_t, hashval_t)); +/* Shorthand for hashing something with an intrinsic size. */ +#define iterative_hash_object(OB,INIT) iterative_hash (&OB, sizeof (OB), INIT) + #ifdef __cplusplus } #endif /* __cplusplus */ |