From 59f51ab1e16002ba818d2f20abd112fc5dfd2e25 Mon Sep 17 00:00:00 2001 From: martin Date: Fri, 16 May 2014 12:22:32 +0000 Subject: Get rid of all sysc_init_field uses - initialize fields directly in C99 notation. --- sys/compat/linux/common/linux_sysctl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/compat/linux/common/linux_sysctl.c') diff --git a/sys/compat/linux/common/linux_sysctl.c b/sys/compat/linux/common/linux_sysctl.c index c74144f4516..bf28be35f2a 100644 --- a/sys/compat/linux/common/linux_sysctl.c +++ b/sys/compat/linux/common/linux_sysctl.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux_sysctl.c,v 1.42 2014/02/25 18:30:09 pooka Exp $ */ +/* $NetBSD: linux_sysctl.c,v 1.43 2014/05/16 12:22:32 martin Exp $ */ /*- * Copyright (c) 2003, 2008 The NetBSD Foundation, Inc. @@ -34,7 +34,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_sysctl.c,v 1.42 2014/02/25 18:30:09 pooka Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_sysctl.c,v 1.43 2014/05/16 12:22:32 martin Exp $"); #include #include @@ -65,7 +65,7 @@ struct sysctlnode linux_sysctl_root = { CTLFLAG_ROOT|CTLTYPE_NODE|CTLFLAG_READWRITE, .sysctl_num = 0, .sysctl_name = "(linux_root)", - sysc_init_field(_sysctl_size, sizeof(struct sysctlnode)), + .sysctl_size = sizeof(struct sysctlnode), }; static struct sysctllog *linux_clog1; -- cgit