mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-05-28 04:35:57 -04:00
mdb_dump: fix symbol clash on Windows
rename byte() to dobyte()
This commit is contained in:
parent
d0fcfd3d02
commit
a0cb775d89
1 changed files with 3 additions and 3 deletions
|
|
@ -83,7 +83,7 @@ static void text(MDB_val *v)
|
|||
putchar('\n');
|
||||
}
|
||||
|
||||
static void byte(MDB_val *v)
|
||||
static void dobyte(MDB_val *v)
|
||||
{
|
||||
unsigned char *c, *end;
|
||||
|
||||
|
|
@ -147,8 +147,8 @@ static int dumpit(MDB_txn *txn, MDB_dbi dbi, char *name)
|
|||
text(&key);
|
||||
text(&data);
|
||||
} else {
|
||||
byte(&key);
|
||||
byte(&data);
|
||||
dobyte(&key);
|
||||
dobyte(&data);
|
||||
}
|
||||
}
|
||||
printf("DATA=END\n");
|
||||
|
|
|
|||
Loading…
Reference in a new issue