aboutsummaryrefslogtreecommitdiffstats
path: root/include/mpool.h
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2002-03-23 17:24:55 +0000
committerWarner Losh <imp@FreeBSD.org>2002-03-23 17:24:55 +0000
commitbb28f3c29b4c91af1b0e79e456294bb08735648a (patch)
treeb4ea687a7ecac173665d9f3a8a858a98631f494e /include/mpool.h
parent194788fafcb927f0affa1a56e21a1e8373f81f9c (diff)
downloadsrc-bb28f3c29b4c91af1b0e79e456294bb08735648a.tar.gz
src-bb28f3c29b4c91af1b0e79e456294bb08735648a.zip
Breath deep and take __P out of the system include files.
# This appears to not break X11, but I'm having problems compiling the # glide part of the server with or without this patch, so I can't tell # for sure.
Notes
Notes: svn path=/head/; revision=93032
Diffstat (limited to 'include/mpool.h')
-rw-r--r--include/mpool.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/include/mpool.h b/include/mpool.h
index 1adf60d5383b..b5be330a0cc5 100644
--- a/include/mpool.h
+++ b/include/mpool.h
@@ -71,9 +71,9 @@ typedef struct MPOOL {
u_long pagesize; /* file page size */
int fd; /* file descriptor */
/* page in conversion routine */
- void (*pgin) __P((void *, pgno_t, void *));
+ void (*pgin)(void *, pgno_t, void *);
/* page out conversion routine */
- void (*pgout) __P((void *, pgno_t, void *));
+ void (*pgout)(void *, pgno_t, void *);
void *pgcookie; /* cookie for page in/out routines */
#ifdef STATISTICS
u_long cachehit;
@@ -89,16 +89,16 @@ typedef struct MPOOL {
} MPOOL;
__BEGIN_DECLS
-MPOOL *mpool_open __P((void *, int, pgno_t, pgno_t));
-void mpool_filter __P((MPOOL *, void (*)(void *, pgno_t, void *),
- void (*)(void *, pgno_t, void *), void *));
-void *mpool_new __P((MPOOL *, pgno_t *));
-void *mpool_get __P((MPOOL *, pgno_t, u_int));
-int mpool_put __P((MPOOL *, void *, u_int));
-int mpool_sync __P((MPOOL *));
-int mpool_close __P((MPOOL *));
+MPOOL *mpool_open(void *, int, pgno_t, pgno_t);
+void mpool_filter(MPOOL *, void (*)(void *, pgno_t, void *),
+ void (*)(void *, pgno_t, void *), void *);
+void *mpool_new(MPOOL *, pgno_t *);
+void *mpool_get(MPOOL *, pgno_t, u_int);
+int mpool_put(MPOOL *, void *, u_int);
+int mpool_sync(MPOOL *);
+int mpool_close(MPOOL *);
#ifdef STATISTICS
-void mpool_stat __P((MPOOL *));
+void mpool_stat(MPOOL *);
#endif
__END_DECLS