X-Git-Url: http://git.asterisk.org/gitweb/?p=asterisk%2Fasterisk.git;a=blobdiff_plain;f=db1-ast%2Finclude%2Fmpool.h;h=0cfc5741ca6efd038d505a9a18937e054dc22c9f;hp=22c9feabd3586e2faee6380bb116884c3b0eba7c;hb=6b0805633b0bac503f13ffbdeb79c8848b5c9590;hpb=aeb89d9744f30cdf1f674ac9399cb8111e8af451;ds=sidebyside diff --git a/db1-ast/include/mpool.h b/db1-ast/include/mpool.h index 22c9fea..0cfc574 100755 --- a/db1-ast/include/mpool.h +++ b/db1-ast/include/mpool.h @@ -37,6 +37,9 @@ #define _MPOOL_H 1 #include +#ifndef CIRCLEQ_HEAD +#include +#endif /* * 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 */ - void (*pgin) __PMT((void *, pgno_t, void *)); + void (*pgin) __P((void *, pgno_t, void *)); /* 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;