Module Name: src Committed By: christos Date: Sat Apr 17 21:42:43 UTC 2010
Modified Files: src/lib/libc/string: swab.c Log Message: fix lint To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/lib/libc/string/swab.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/string/swab.c diff -u src/lib/libc/string/swab.c:1.13 src/lib/libc/string/swab.c:1.14 --- src/lib/libc/string/swab.c:1.13 Sat Apr 17 13:57:39 2010 +++ src/lib/libc/string/swab.c Sat Apr 17 17:42:43 2010 @@ -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)