Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/string fix lint



details:   https://anonhg.NetBSD.org/src/rev/743f230166c2
branches:  trunk
changeset: 754051:743f230166c2
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Apr 17 21:42:43 2010 +0000

description:
fix lint

diffstat:

 lib/libc/string/swab.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 11d5de8aa57f -r 743f230166c2 lib/libc/string/swab.c
--- a/lib/libc/string/swab.c    Sat Apr 17 21:36:56 2010 +0000
+++ b/lib/libc/string/swab.c    Sat Apr 17 21:42:43 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: swab.c,v 1.13 2010/04/17 17:57:39 christos Exp $       */
+/*     $NetBSD: swab.c,v 1.14 2010/04/17 21:42:43 christos Exp $       */
 
 /*
  * Copyright (c) 1988, 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)swab.c     8.1 (Berkeley) 6/4/93";
 #else
-__RCSID("$NetBSD: swab.c,v 1.13 2010/04/17 17:57:39 christos Exp $");
+__RCSID("$NetBSD: swab.c,v 1.14 2010/04/17 21:42:43 christos Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -51,6 +51,7 @@
        const char *fp;
        char *tp;
 
+       /*LINTED: unportable &*/
        if (len & 1)
                len--;
        if (len <= 0)



Home | Main Index | Thread Index | Old Index