use c99 initializers
This commit is contained in:
parent
c5b9d17001
commit
931d28e672
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: vfs_bio.c,v 1.161 2006/05/25 14:27:28 yamt Exp $ */
|
||||
/* $NetBSD: vfs_bio.c,v 1.162 2006/09/03 21:39:29 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1982, 1986, 1989, 1993
|
||||
|
@ -82,7 +82,7 @@
|
|||
#include "opt_softdep.h"
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: vfs_bio.c,v 1.161 2006/05/25 14:27:28 yamt Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: vfs_bio.c,v 1.162 2006/09/03 21:39:29 christos Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -226,7 +226,9 @@ bufpool_page_free(struct pool *pp, void *v)
|
|||
}
|
||||
|
||||
static struct pool_allocator bufmempool_allocator = {
|
||||
bufpool_page_alloc, bufpool_page_free, MAXBSIZE,
|
||||
.pa_alloc = bufpool_page_alloc,
|
||||
.pa_free = bufpool_page_free,
|
||||
.pa_pagesz = MAXBSIZE,
|
||||
};
|
||||
|
||||
/* Buffer memory management variables */
|
||||
|
|
Loading…
Reference in New Issue