Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/netbsd32 Update from GNU extension to C99 syntax ...
details: https://anonhg.NetBSD.org/src/rev/7fa165e2fb63
branches: trunk
changeset: 765269:7fa165e2fb63
user: joerg <joerg%NetBSD.org@localhost>
date: Mon May 23 21:34:47 2011 +0000
description:
Update from GNU extension to C99 syntax for designated initializer
diffstat:
sys/compat/netbsd32/netbsd32_compat_50.c | 10 +++++-----
sys/compat/netbsd32/netbsd32_event.c | 10 +++++-----
2 files changed, 10 insertions(+), 10 deletions(-)
diffs (62 lines):
diff -r 26960b7463d1 -r 7fa165e2fb63 sys/compat/netbsd32/netbsd32_compat_50.c
--- a/sys/compat/netbsd32/netbsd32_compat_50.c Mon May 23 21:34:01 2011 +0000
+++ b/sys/compat/netbsd32/netbsd32_compat_50.c Mon May 23 21:34:47 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_compat_50.c,v 1.18 2011/03/06 17:08:34 bouyer Exp $ */
+/* $NetBSD: netbsd32_compat_50.c,v 1.19 2011/05/23 21:34:47 joerg Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_compat_50.c,v 1.18 2011/03/06 17:08:34 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_compat_50.c,v 1.19 2011/05/23 21:34:47 joerg Exp $");
#if defined(_KERNEL_OPT)
#include "opt_sysv.h"
@@ -623,9 +623,9 @@
int error;
size_t maxalloc, nchanges, nevents;
struct kevent_ops netbsd32_kevent_ops = {
- keo_fetch_timeout: netbsd32_kevent_fetch_timeout,
- keo_fetch_changes: netbsd32_kevent_fetch_changes,
- keo_put_events: netbsd32_kevent_put_events,
+ .keo_fetch_timeout = netbsd32_kevent_fetch_timeout,
+ .keo_fetch_changes = netbsd32_kevent_fetch_changes,
+ .keo_put_events = netbsd32_kevent_put_events,
};
nchanges = SCARG(uap, nchanges);
diff -r 26960b7463d1 -r 7fa165e2fb63 sys/compat/netbsd32/netbsd32_event.c
--- a/sys/compat/netbsd32/netbsd32_event.c Mon May 23 21:34:01 2011 +0000
+++ b/sys/compat/netbsd32/netbsd32_event.c Mon May 23 21:34:47 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_event.c,v 1.8 2010/04/23 15:19:20 rmind Exp $ */
+/* $NetBSD: netbsd32_event.c,v 1.9 2011/05/23 21:34:47 joerg Exp $ */
/*
* Copyright (c) 2005 The NetBSD Foundation.
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_event.c,v 1.8 2010/04/23 15:19:20 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_event.c,v 1.9 2011/05/23 21:34:47 joerg Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -105,9 +105,9 @@
int error;
size_t maxalloc, nchanges, nevents;
struct kevent_ops netbsd32_kevent_ops = {
- keo_fetch_timeout: netbsd32_kevent_fetch_timeout,
- keo_fetch_changes: netbsd32_kevent_fetch_changes,
- keo_put_events: netbsd32_kevent_put_events,
+ .keo_fetch_timeout = netbsd32_kevent_fetch_timeout,
+ .keo_fetch_changes = netbsd32_kevent_fetch_changes,
+ .keo_put_events = netbsd32_kevent_put_events,
};
nchanges = SCARG(uap, nchanges);
Home |
Main Index |
Thread Index |
Old Index