Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Add FALLTHROUGH commit
details: https://anonhg.NetBSD.org/src/rev/1c88b6efd635
branches: trunk
changeset: 819139:1c88b6efd635
user: christos <christos%NetBSD.org@localhost>
date: Sat Nov 19 19:06:12 2016 +0000
description:
Add FALLTHROUGH commit
diffstat:
sys/kern/sys_ptrace_common.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 5b3527d58b51 -r 1c88b6efd635 sys/kern/sys_ptrace_common.c
--- a/sys/kern/sys_ptrace_common.c Sat Nov 19 17:19:59 2016 +0000
+++ b/sys/kern/sys_ptrace_common.c Sat Nov 19 19:06:12 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sys_ptrace_common.c,v 1.4 2016/11/12 20:03:17 christos Exp $ */
+/* $NetBSD: sys_ptrace_common.c,v 1.5 2016/11/19 19:06:12 christos Exp $ */
/*-
* Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -118,7 +118,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sys_ptrace_common.c,v 1.4 2016/11/12 20:03:17 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sys_ptrace_common.c,v 1.5 2016/11/19 19:06:12 christos Exp $");
#ifdef _KERNEL_OPT
#include "opt_ptrace.h"
@@ -945,6 +945,7 @@
#ifdef PT_SETFPREGS
case PT_SETFPREGS:
write = 1;
+ /*FALLTHROUGH*/
#endif
#ifdef PT_GETFPREGS
case PT_GETFPREGS:
Home |
Main Index |
Thread Index |
Old Index