File: hash.h.diff

package info (click to toggle)
gettext 0.23.1-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 167,652 kB
  • sloc: ansic: 532,868; sh: 68,216; perl: 28,011; makefile: 9,046; lisp: 3,184; yacc: 1,055; java: 615; cs: 589; cpp: 397; objc: 343; sed: 79; tcl: 63; xml: 40; pascal: 11; awk: 7; php: 7
file content (18 lines) | stat: -rw-r--r-- 558 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- hash.h.orig	2020-07-04 10:20:48.099418874 +0200
+++ hash.h	2020-07-04 10:21:37.279976514 +0200
@@ -128,11 +128,15 @@
  * Allocation and clean-up.
  */
 
+#if 0
+
 /* Return a hash index for a NUL-terminated STRING between 0 and N_BUCKETS-1.
    This is a convenience routine for constructing other hashing functions.  */
 extern size_t hash_string (const char *string, size_t n_buckets)
        _GL_ATTRIBUTE_PURE;
 
+#endif
+
 extern void hash_reset_tuning (Hash_tuning *tuning);
 
 typedef size_t (*Hash_hasher) (const void *entry, size_t table_size);