]> mj.ucw.cz Git - libucw.git/blobdiff - lib/hashfunc.h
Fix escaping of "+" characters in outgoing parameters. (BTW: when Galeon
[libucw.git] / lib / hashfunc.h
index 1767d81bb5fd9eb7cd4903eb0156b1f218a861a9..14133220faef80ef1b3d69dfbcdfacb3ca23aeef 100644 (file)
@@ -3,6 +3,9 @@
  *     routines
  *
  *     (c) 2002, Robert Spalek <robert@ucw.cz>
+ *
+ *     This software may be freely distributed and used according to the terms
+ *     of the GNU Lesser General Public License.
  */
 
 #ifndef _SHERLOCK_HASHFUNC_H
@@ -30,7 +33,6 @@ uns hash_block(const byte *str, uns len) CONST;
 
 uns hash_string_nocase(const byte *str) CONST;
 
-static inline uns hash_int(uns x) CONST;
-static inline uns hash_int(uns x) { return 6442450967*x; }
+static inline uns CONST hash_int(uns x) { return 6442450967*x; }
 
 #endif