Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/riscv/include silence lint.



details:   https://anonhg.NetBSD.org/src/rev/5e53d390aeeb
branches:  trunk
changeset: 1008877:5e53d390aeeb
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Apr 04 21:13:20 2020 +0000

description:
silence lint.

diffstat:

 sys/arch/riscv/include/byte_swap.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 8eb6089ba128 -r 5e53d390aeeb sys/arch/riscv/include/byte_swap.h
--- a/sys/arch/riscv/include/byte_swap.h        Sat Apr 04 21:00:03 2020 +0000
+++ b/sys/arch/riscv/include/byte_swap.h        Sat Apr 04 21:13:20 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: byte_swap.h,v 1.4 2019/04/15 14:03:32 maya Exp $ */
+/* $NetBSD: byte_swap.h,v 1.5 2020/04/04 21:13:20 christos Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -88,7 +88,7 @@
 static __inline uint16_t
 __byte_swap_u16_variable(uint16_t v)
 {
-
+       /*LINTED*/
        return (uint16_t)((v >> 8) | (v << 8));
 }
 



Home | Main Index | Thread Index | Old Index