summaryrefslogtreecommitdiffstats
path: root/newlib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc')
-rw-r--r--newlib/libc/search/hash.c4
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;