aboutsummaryrefslogtreecommitdiffstats
path: root/src/fns.c
diff options
context:
space:
mode:
authorJoakim Verona2013-02-10 00:03:41 +0100
committerJoakim Verona2013-02-10 00:03:41 +0100
commit33cc2cd4d53f845b7d1e681dbbe8166acdb652c3 (patch)
tree551834731473d23116e08cb89facebbc8bad03db /src/fns.c
parent4df065db6acba3975884b435422773ab97f32a00 (diff)
parenteff1c1900f47ec5dfb6d435325b366362d09d2db (diff)
downloademacs-33cc2cd4d53f845b7d1e681dbbe8166acdb652c3.tar.gz
emacs-33cc2cd4d53f845b7d1e681dbbe8166acdb652c3.zip
auto upstream
Diffstat (limited to 'src/fns.c')
-rw-r--r--src/fns.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/fns.c b/src/fns.c
index ecd1a31335a..527976593da 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -4045,10 +4045,6 @@ sweep_weak_hash_tables (void)
4045 4045
4046#define SXHASH_MAX_LEN 7 4046#define SXHASH_MAX_LEN 7
4047 4047
4048/* Hash X, returning a value that fits into a Lisp integer. */
4049#define SXHASH_REDUCE(X) \
4050 ((((X) ^ (X) >> (BITS_PER_EMACS_INT - FIXNUM_BITS))) & INTMASK)
4051
4052/* Return a hash for string PTR which has length LEN. The hash value 4048/* Return a hash for string PTR which has length LEN. The hash value
4053 can be any EMACS_UINT value. */ 4049 can be any EMACS_UINT value. */
4054 4050
@@ -4081,7 +4077,7 @@ sxhash_string (char const *ptr, ptrdiff_t len)
4081 4077
4082/* Return a hash for the floating point value VAL. */ 4078/* Return a hash for the floating point value VAL. */
4083 4079
4084static EMACS_INT 4080static EMACS_UINT
4085sxhash_float (double val) 4081sxhash_float (double val)
4086{ 4082{
4087 EMACS_UINT hash = 0; 4083 EMACS_UINT hash = 0;