Loading...
--- Libc/Libc-1725.40.4/db/mpool/FreeBSD/mpool.c
+++ Libc/Libc-825.26/db/mpool/FreeBSD/mpool.c
@@ -45,8 +45,6 @@
#include <unistd.h>
#include "un-namespace.h"
-#include "libc_private.h" // for LIBC_ABORT
-
#include <db.h>
#define __MPOOLINTERFACE_PRIVATE
@@ -112,7 +110,9 @@
* Get a new page of memory.
*/
void *
-mpool_new(MPOOL *mp, pgno_t *pgnoaddr)
+mpool_new(mp, pgnoaddr)
+ MPOOL *mp;
+ pgno_t *pgnoaddr;
{
struct _hqh *head;
BKT *bp;
@@ -281,7 +281,7 @@
/* Walk the lru chain, flushing any dirty pages to disk. */
TAILQ_FOREACH(bp, &mp->lqh, q) {
- if (bp->flags & MPOOL_DIRTY) {
+ if (bp->flags & MPOOL_DIRTY)
if (mpool_write(mp, bp) == RET_ERROR) {
return (RET_ERROR);
} else {
@@ -289,7 +289,6 @@
if (mp->pgin != NULL)
(mp->pgin)(mp->pgcookie, bp->pgno, bp->page);
}
- }
}
/* Sync the file descriptor. */