some function defn's that need them; they were prototyped
as static but not defined as static.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8863
dc483132-0cff-0310-8789-
dd5450dbe970
/*
* Functions to get/put hash header. We access the file directly.
*/
-u_int32_t
+static u_int32_t
hget_header(hashp, page_size)
HTAB *hashp;
u_int32_t page_size;
return (num_copied);
}
-void
+static void
hput_header(hashp)
HTAB *hashp;
{
return new_curs;
}
-int32_t
+static int32_t
cursor_get(dbp, cursorp, key, val, flags)
const DB *dbp;
CURSOR *cursorp;
return (0);
}
-int32_t
+static int32_t
cursor_delete(dbp, cursor, flags)
const DB *dbp;
CURSOR *cursor;
#define PRIME1 37
#define PRIME2 1048583
-u_int32_t
+static u_int32_t
hash1(key, len)
const void *key;
size_t len;
*/
#define dcharhash(h, c) ((h) = 0x63c63cd9*(h) + 0x9c39c33d + (c))
-u_int32_t
+static u_int32_t
hash2(key, len)
const void *key;
size_t len;
*
* Ozan Yigit's original sdbm hash.
*/
-u_int32_t
+static u_int32_t
hash3(key, len)
const void *key;
size_t len;
}
/* Chris Torek's hash function. */
-u_int32_t
+static u_int32_t
hash4(key, len)
const void *key;
size_t len;
* Returns the index of the next non-bigkey pair after n on the page.
* Returns -1 if there are no more non-big things on the page.
*/
-indx_t
+static indx_t
#ifdef __STDC__
next_realkey(PAGE16 * pagep, indx_t n)
#else
* Special __addel used in big splitting; this one just puts the pointer
* to an already-allocated big page in the appropriate bucket.
*/
-int32_t
+static int32_t
#ifdef __STDC__
add_bigptr(HTAB * hashp, ITEM_INFO * item_info, indx_t big_pgno)
#else
return (pagep);
}
-void
+static void
swap_page_header_in(pagep)
PAGE16 *pagep;
{
}
}
-void
+static void
swap_page_header_out(pagep)
PAGE16 *pagep;
{