From 94de7229efc19cdcee1a4baa57d41a20340f8890 Mon Sep 17 00:00:00 2001 From: christos Date: Sun, 3 Sep 2006 06:48:26 +0000 Subject: use c99 initializers --- sys/fs/tmpfs/tmpfs_pool.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'sys') diff --git a/sys/fs/tmpfs/tmpfs_pool.c b/sys/fs/tmpfs/tmpfs_pool.c index 51dd43ba67b..a25943c70ab 100644 --- a/sys/fs/tmpfs/tmpfs_pool.c +++ b/sys/fs/tmpfs/tmpfs_pool.c @@ -1,4 +1,4 @@ -/* $NetBSD: tmpfs_pool.c,v 1.4 2005/12/11 12:24:29 christos Exp $ */ +/* $NetBSD: tmpfs_pool.c,v 1.5 2006/09/03 06:48:26 christos Exp $ */ /* * Copyright (c) 2005 The NetBSD Foundation, Inc. @@ -42,7 +42,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: tmpfs_pool.c,v 1.4 2005/12/11 12:24:29 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: tmpfs_pool.c,v 1.5 2006/09/03 06:48:26 christos Exp $"); #include #include @@ -109,9 +109,8 @@ extern void pool_page_free_nointr(struct pool *, void *); * faults if we shared the pools. */ struct pool_allocator tmpfs_pool_allocator = { - tmpfs_pool_page_alloc, - tmpfs_pool_page_free, - 0, + .pa_alloc = tmpfs_pool_page_alloc, + .pa_free = tmpfs_pool_page_free, }; /* --------------------------------------------------------------------- */ -- cgit