Source-Changes-HG archive

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

[src/trunk]: src/common/lib/libc/gen Mark linted



details:   https://anonhg.NetBSD.org/src/rev/65b454e9f9d3
branches:  trunk
changeset: 778143:65b454e9f9d3
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Mar 17 20:57:35 2012 +0000

description:
Mark linted

diffstat:

 common/lib/libc/gen/bswap16.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r b87910ed6278 -r 65b454e9f9d3 common/lib/libc/gen/bswap16.c
--- a/common/lib/libc/gen/bswap16.c     Sat Mar 17 20:48:58 2012 +0000
+++ b/common/lib/libc/gen/bswap16.c     Sat Mar 17 20:57:35 2012 +0000
@@ -1,4 +1,4 @@
-/*  $NetBSD: bswap16.c,v 1.3 2011/07/04 21:20:27 joerg Exp $    */
+/*  $NetBSD: bswap16.c,v 1.4 2012/03/17 20:57:35 martin Exp $    */
 
 /*
  * Written by Manuel Bouyer <bouyer%NetBSD.org@localhost>.
@@ -7,7 +7,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: bswap16.c,v 1.3 2011/07/04 21:20:27 joerg Exp $");
+__RCSID("$NetBSD: bswap16.c,v 1.4 2012/03/17 20:57:35 martin Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 #include <sys/types.h>
@@ -18,5 +18,6 @@
 uint16_t
 bswap16(uint16_t x)
 {
+       /*LINTED*/
        return ((x << 8) & 0xff00) | ((x >> 8) & 0x00ff);
 }



Home | Main Index | Thread Index | Old Index