summaryrefslogtreecommitdiff
path: root/sal/rtl/source/hash.h
diff options
context:
space:
mode:
authorsb <sb@openoffice.org>2010-01-29 11:13:17 +0100
committersb <sb@openoffice.org>2010-01-29 11:13:17 +0100
commit84ae8fd53c7e18d7a803ca3616a8370d17dc5219 (patch)
tree6fe3262e5b268b04220a0a56402a6ab2fc762cd8 /sal/rtl/source/hash.h
parentd127b5cb9d58aad37986c51267b8e911ebf2f69c (diff)
sb119: #i108560# avoid never-released StringHashTableImpl; simplified code
Diffstat (limited to 'sal/rtl/source/hash.h')
-rw-r--r--sal/rtl/source/hash.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/sal/rtl/source/hash.h b/sal/rtl/source/hash.h
index 63f3e99c8495..2aadfb33efcd 100644
--- a/sal/rtl/source/hash.h
+++ b/sal/rtl/source/hash.h
@@ -8,15 +8,11 @@
extern "C" {
#endif /* __cplusplus */
-typedef struct StringHashTableImpl StringHashTable;
+/* These functions are not multi-thread safe: */
-StringHashTable *rtl_str_hash_new (sal_uInt32 nSize);
-void rtl_str_hash_free (StringHashTable *pHash);
-rtl_uString *rtl_str_hash_intern (StringHashTable *pHash,
- rtl_uString *pString,
+rtl_uString *rtl_str_hash_intern (rtl_uString *pString,
int can_return);
-void rtl_str_hash_remove (StringHashTable *pHash,
- rtl_uString *pString);
+void rtl_str_hash_remove (rtl_uString *pString);
#if defined __cplusplus
}