diff options
author | Ben Elliston <bje@gnu.org> | 2007-01-30 06:13:29 +0300 |
---|---|---|
committer | Ben Elliston <bje@gnu.org> | 2007-01-30 06:13:29 +0300 |
commit | cb7ba0e119d7aab3240a6877db96c5aec43a64b1 (patch) | |
tree | 500f6b92f1028108bdd47f5a3db94deef3aee0ed /newlib/libc | |
parent | 291b2d82913b94b15edf27c9432a349be7169463 (diff) |
* libc/search/hash.c (init_hash): Make `info' parameter const.
Diffstat (limited to 'newlib/libc')
-rw-r--r-- | newlib/libc/search/hash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/search/hash.c b/newlib/libc/search/hash.c index 3d919286a..348cbaa93 100644 --- a/newlib/libc/search/hash.c +++ b/newlib/libc/search/hash.c @@ -70,7 +70,7 @@ static void *hash_realloc(SEGMENT **, int, int); static int hash_seq(const DB *, DBT *, DBT *, __uint32_t); static int hash_sync(const DB *, __uint32_t); static int hdestroy(HTAB *); -static HTAB *init_hash(HTAB *, const char *, HASHINFO *); +static HTAB *init_hash(HTAB *, const char *, const HASHINFO *); static int init_htab(HTAB *, int); #if (BYTE_ORDER == LITTLE_ENDIAN) static void swap_header(HTAB *); @@ -307,7 +307,7 @@ static HTAB * init_hash(hashp, file, info) HTAB *hashp; const char *file; - HASHINFO *info; + const HASHINFO *info; { struct stat statbuf; int nelem; |