diff options
Diffstat (limited to 'src/fns.c')
| -rw-r--r-- | src/fns.c | 6 |
1 files changed, 1 insertions, 5 deletions
| @@ -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 | ||
| 4084 | static EMACS_INT | 4080 | static EMACS_UINT |
| 4085 | sxhash_float (double val) | 4081 | sxhash_float (double val) |
| 4086 | { | 4082 | { |
| 4087 | EMACS_UINT hash = 0; | 4083 | EMACS_UINT hash = 0; |