projects
/
asterisk/asterisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add linear file generator, CIRCQ emulation for BSD (bug #1626)
[asterisk/asterisk.git]
/
db1-ast
/
include
/
mpool.h
diff --git
a/db1-ast/include/mpool.h
b/db1-ast/include/mpool.h
index
22c9fea
..
0cfc574
100755
(executable)
--- a/
db1-ast/include/mpool.h
+++ b/
db1-ast/include/mpool.h
@@
-37,6
+37,9
@@
#define _MPOOL_H 1
#include <sys/queue.h>
#define _MPOOL_H 1
#include <sys/queue.h>
+#ifndef CIRCLEQ_HEAD
+#include <circ-queue.h>
+#endif
/*
* The memory pool scheme is a simple one. Each in-memory page is referenced
/*
* The memory pool scheme is a simple one. Each in-memory page is referenced
@@
-70,9
+73,9
@@
typedef struct MPOOL {
u_long pagesize; /* file page size */
int fd; /* file descriptor */
/* page in conversion routine */
u_long pagesize; /* file page size */
int fd; /* file descriptor */
/* page in conversion routine */
- void (*pgin) __PMT((void *, pgno_t, void *));
+ void (*pgin) __P((void *, pgno_t, void *));
/* page out conversion routine */
/* page out conversion routine */
- void (*pgout) __PMT((void *, pgno_t, void *));
+ void (*pgout) __P((void *, pgno_t, void *));
void *pgcookie; /* cookie for page in/out routines */
#ifdef STATISTICS
u_long cachehit;
void *pgcookie; /* cookie for page in/out routines */
#ifdef STATISTICS
u_long cachehit;