* libc/search/hash.c (init_hash): Make `info' parameter const.
This commit is contained in:
parent
291b2d8291
commit
cb7ba0e119
@ -1,3 +1,7 @@
|
|||||||
|
2007-01-30 Ben Elliston <bje@au.ibm.com>
|
||||||
|
|
||||||
|
* libc/search/hash.c (init_hash): Make `info' parameter const.
|
||||||
|
|
||||||
2007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp>
|
2007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp>
|
||||||
|
|
||||||
* libc/machine/spu/c99ppe.h: Replace vector with __vector.
|
* libc/machine/spu/c99ppe.h: Replace vector with __vector.
|
||||||
|
@ -70,7 +70,7 @@ static void *hash_realloc(SEGMENT **, int, int);
|
|||||||
static int hash_seq(const DB *, DBT *, DBT *, __uint32_t);
|
static int hash_seq(const DB *, DBT *, DBT *, __uint32_t);
|
||||||
static int hash_sync(const DB *, __uint32_t);
|
static int hash_sync(const DB *, __uint32_t);
|
||||||
static int hdestroy(HTAB *);
|
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);
|
static int init_htab(HTAB *, int);
|
||||||
#if (BYTE_ORDER == LITTLE_ENDIAN)
|
#if (BYTE_ORDER == LITTLE_ENDIAN)
|
||||||
static void swap_header(HTAB *);
|
static void swap_header(HTAB *);
|
||||||
@ -307,7 +307,7 @@ static HTAB *
|
|||||||
init_hash(hashp, file, info)
|
init_hash(hashp, file, info)
|
||||||
HTAB *hashp;
|
HTAB *hashp;
|
||||||
const char *file;
|
const char *file;
|
||||||
HASHINFO *info;
|
const HASHINFO *info;
|
||||||
{
|
{
|
||||||
struct stat statbuf;
|
struct stat statbuf;
|
||||||
int nelem;
|
int nelem;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user