summaryrefslogtreecommitdiff
path: root/locale/programs/simple-hash.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-12-10 01:18:36 +0000
committerUlrich Drepper <drepper@redhat.com>2001-12-10 01:18:36 +0000
commita352ab4ca56142647227c3d2943adfa455679ada (patch)
tree7a6d107bf2bfc8a08d490a34f7ec8ac456d0c5b8 /locale/programs/simple-hash.h
parentba2dfdef58ae9dbf71b18a5cfce3e9f3ebb29b58 (diff)
Add const to first parameter of find_entry, iterate_table, and lookup.
Diffstat (limited to 'locale/programs/simple-hash.h')
-rw-r--r--locale/programs/simple-hash.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/locale/programs/simple-hash.h b/locale/programs/simple-hash.h
index baca76fb5c..b811a6fd4d 100644
--- a/locale/programs/simple-hash.h
+++ b/locale/programs/simple-hash.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1995, 1996, 1997, 1998, 1999, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@gnu.org>, 1995.
@@ -37,12 +37,12 @@ extern int init_hash (hash_table *htab, unsigned long int init_size) __THROW;
extern int delete_hash (hash_table *htab) __THROW;
extern int insert_entry (hash_table *htab, const void *key, size_t keylen,
void *data) __THROW;
-extern int find_entry (hash_table *htab, const void *key, size_t keylen,
+extern int find_entry (const hash_table *htab, const void *key, size_t keylen,
void **result) __THROW;
extern int set_entry (hash_table *htab, const void *key, size_t keylen,
void *newval) __THROW;
-extern int iterate_table (hash_table *htab, void **ptr,
+extern int iterate_table (const hash_table *htab, void **ptr,
const void **key, size_t *keylen, void **data)
__THROW;