summaryrefslogtreecommitdiff
path: root/sys/ufs/ext2fs/ext2fs_alloc.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 01:27:20 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 01:27:20 +0000
commit8327d0774703553db5e1a41a04bfdf4b1797c2ce (patch)
treeac9a52bace179e17769651fb9f805070d78abe5f /sys/ufs/ext2fs/ext2fs_alloc.c
parent7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff)
First round of __P removal in sys
Diffstat (limited to 'sys/ufs/ext2fs/ext2fs_alloc.c')
-rw-r--r--sys/ufs/ext2fs/ext2fs_alloc.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/ufs/ext2fs/ext2fs_alloc.c b/sys/ufs/ext2fs/ext2fs_alloc.c
index 17e0ced02a0..05cc4fca44d 100644
--- a/sys/ufs/ext2fs/ext2fs_alloc.c
+++ b/sys/ufs/ext2fs/ext2fs_alloc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ext2fs_alloc.c,v 1.7 2001/09/17 23:25:04 art Exp $ */
+/* $OpenBSD: ext2fs_alloc.c,v 1.8 2002/03/14 01:27:14 millert Exp $ */
/* $NetBSD: ext2fs_alloc.c,v 1.10 2001/07/05 08:38:27 toshii Exp $ */
/*
@@ -56,14 +56,14 @@
u_long ext2gennumber;
-static ufs_daddr_t ext2fs_alloccg __P((struct inode *, int, ufs_daddr_t, int));
-static u_long ext2fs_dirpref __P((struct m_ext2fs *));
-static void ext2fs_fserr __P((struct m_ext2fs *, u_int, char *));
+static ufs_daddr_t ext2fs_alloccg(struct inode *, int, ufs_daddr_t, int);
+static u_long ext2fs_dirpref(struct m_ext2fs *);
+static void ext2fs_fserr(struct m_ext2fs *, u_int, char *);
static u_long ext2fs_hashalloc __P((struct inode *, int, long, int,
ufs_daddr_t (*)(struct inode *, int, ufs_daddr_t,
int)));
-static ufs_daddr_t ext2fs_nodealloccg __P((struct inode *, int, ufs_daddr_t, int));
-static ufs_daddr_t ext2fs_mapsearch __P((struct m_ext2fs *, char *, ufs_daddr_t));
+static ufs_daddr_t ext2fs_nodealloccg(struct inode *, int, ufs_daddr_t, int);
+static ufs_daddr_t ext2fs_mapsearch(struct m_ext2fs *, char *, ufs_daddr_t);
/*
* Allocate a block in the file system.
@@ -279,7 +279,7 @@ ext2fs_hashalloc(ip, cg, pref, size, allocator)
int cg;
long pref;
int size; /* size for data blocks, mode for inodes */
- ufs_daddr_t (*allocator) __P((struct inode *, int, ufs_daddr_t, int));
+ ufs_daddr_t (*allocator)(struct inode *, int, ufs_daddr_t, int);
{
struct m_ext2fs *fs;
long result;