dtinfo: Change to ANSI function definitions
This commit is contained in:
@@ -106,10 +106,7 @@ static int tmp __P((void));
|
||||
*
|
||||
*/
|
||||
DB *
|
||||
__bt_open(fname, flags, mode, openinfo, dflags)
|
||||
const char *fname;
|
||||
int flags, mode, dflags;
|
||||
const BTREEINFO *openinfo;
|
||||
__bt_open(const char *fname, int flags, int mode, const BTREEINFO *openinfo, int dflags)
|
||||
{
|
||||
BTMETA m;
|
||||
BTREE *t;
|
||||
@@ -373,8 +370,7 @@ err: if (t) {
|
||||
* RET_ERROR, RET_SUCCESS
|
||||
*/
|
||||
static int
|
||||
nroot(t)
|
||||
BTREE *t;
|
||||
nroot(BTREE *t)
|
||||
{
|
||||
PAGE *meta, *root;
|
||||
pgno_t npg;
|
||||
@@ -406,7 +402,7 @@ nroot(t)
|
||||
}
|
||||
|
||||
static int
|
||||
tmp()
|
||||
tmp(void)
|
||||
{
|
||||
sigset_t set, oset;
|
||||
int fd;
|
||||
@@ -426,7 +422,7 @@ tmp()
|
||||
}
|
||||
|
||||
static int
|
||||
byteorder()
|
||||
byteorder(void)
|
||||
{
|
||||
u_long x; /* XXX: 32-bit assumption. */
|
||||
u_char *p;
|
||||
@@ -444,8 +440,7 @@ byteorder()
|
||||
}
|
||||
|
||||
int
|
||||
__bt_fd(dbp)
|
||||
const DB *dbp;
|
||||
__bt_fd(const DB *dbp)
|
||||
{
|
||||
BTREE *t;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user