Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/usb ARGSUSED/FALLTHROUGH delinting (first pass)



details:   https://anonhg.NetBSD.org/src/rev/245e82daab87
branches:  trunk
changeset: 539042:245e82daab87
user:      dsainty <dsainty%NetBSD.org@localhost>
date:      Wed Nov 06 10:56:22 2002 +0000

description:
ARGSUSED/FALLTHROUGH delinting (first pass)

diffstat:

 sys/dev/usb/ustir.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (43 lines):

diff -r cb24e11a3ba9 -r 245e82daab87 sys/dev/usb/ustir.c
--- a/sys/dev/usb/ustir.c       Wed Nov 06 10:14:38 2002 +0000
+++ b/sys/dev/usb/ustir.c       Wed Nov 06 10:56:22 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ustir.c,v 1.4 2002/10/23 09:14:03 jdolecek Exp $       */
+/*     $NetBSD: ustir.c,v 1.5 2002/11/06 10:56:22 dsainty Exp $        */
 
 /*
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ustir.c,v 1.4 2002/10/23 09:14:03 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ustir.c,v 1.5 2002/11/06 10:56:22 dsainty Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -477,6 +477,8 @@
                        break;
 
                state_in_end:
+                       /* FALLTHROUGH */
+
                case FSTATE_IN_END:
                        if (--fstate->state_index == 0) {
                                u_int32_t crc;
@@ -837,6 +839,7 @@
        return error;
 }
 
+/* ARGSUSED */
 Static int
 ustir_open(void *h, int flag, int mode, usb_proc_ptr p)
 {
@@ -924,6 +927,7 @@
        return error;
 }
 
+/* ARGSUSED */
 Static int
 ustir_close(void *h, int flag, int mode, usb_proc_ptr p)
 {



Home | Main Index | Thread Index | Old Index