Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/pgoyette-localcount]: src/external/cddl/osnet Add an initializer for the...
details: https://anonhg.NetBSD.org/src/rev/9cdd01eee343
branches: pgoyette-localcount
changeset: 852792:9cdd01eee343
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Sat Jul 16 11:27:12 2016 +0000
description:
Add an initializer for the cdevsw's localcount.
XXX These should maybe be converted to C99-style structure initialization?
diffstat:
external/cddl/osnet/dev/fbt/fbt.c | 4 ++--
external/cddl/osnet/dev/sdt/sdt.c | 4 ++--
external/cddl/osnet/dist/uts/common/dtrace/dtrace.c | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diffs (51 lines):
diff -r 2df0c259c272 -r 9cdd01eee343 external/cddl/osnet/dev/fbt/fbt.c
--- a/external/cddl/osnet/dev/fbt/fbt.c Sat Jul 16 11:06:59 2016 +0000
+++ b/external/cddl/osnet/dev/fbt/fbt.c Sat Jul 16 11:27:12 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fbt.c,v 1.18 2015/02/26 10:31:52 ozaki-r Exp $ */
+/* $NetBSD: fbt.c,v 1.18.2.1 2016/07/16 11:27:12 pgoyette Exp $ */
/*
* CDDL HEADER START
@@ -154,7 +154,7 @@
static const struct cdevsw fbt_cdevsw = {
fbt_open, noclose, noread, nowrite, noioctl,
nostop, notty, nopoll, nommap, nokqfilter, nodiscard,
- D_OTHER
+ D_OTHER, NULL
};
static dtrace_pattr_t fbt_attr = {
diff -r 2df0c259c272 -r 9cdd01eee343 external/cddl/osnet/dev/sdt/sdt.c
--- a/external/cddl/osnet/dev/sdt/sdt.c Sat Jul 16 11:06:59 2016 +0000
+++ b/external/cddl/osnet/dev/sdt/sdt.c Sat Jul 16 11:27:12 2016 +0000
@@ -39,7 +39,7 @@
* unloaded; in particular, probes may not span multiple kernel modules.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sdt.c,v 1.16 2016/06/16 06:08:06 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sdt.c,v 1.16.2.1 2016/07/16 11:27:12 pgoyette Exp $");
#include <sys/cdefs.h>
#include <sys/param.h>
@@ -121,7 +121,7 @@
static const struct cdevsw sdt_cdevsw = {
sdt_open, noclose, noread, nowrite, noioctl,
nostop, notty, nopoll, nommap, nokqfilter, nodiscard,
- D_OTHER
+ D_OTHER, NULL
};
#endif
diff -r 2df0c259c272 -r 9cdd01eee343 external/cddl/osnet/dist/uts/common/dtrace/dtrace.c
--- a/external/cddl/osnet/dist/uts/common/dtrace/dtrace.c Sat Jul 16 11:06:59 2016 +0000
+++ b/external/cddl/osnet/dist/uts/common/dtrace/dtrace.c Sat Jul 16 11:27:12 2016 +0000
@@ -15340,7 +15340,7 @@
const struct cdevsw dtrace_cdevsw = {
dtrace_open, noclose, noread, nowrite, noioctl,
nostop, notty, nopoll, nommap, nokqfilter, nodiscard,
- D_OTHER | D_MPSAFE
+ D_OTHER | D_MPSAFE, NULL
};
static int dtrace_ioctl(struct file *fp, u_long cmd, void *data);
Home |
Main Index |
Thread Index |
Old Index