From 17fadf661d157ba2a756646f71fd03369db612f0 Mon Sep 17 00:00:00 2001 From: guenther <> Date: Thu, 1 Oct 2015 02:32:07 +0000 Subject: Eliminate the last of the LINTEDn and PRINTFLIKEn comments. In one case, by deleting some useless '& of an array' we also eliminate the need for the casts which prompted the original lint warnings ok deraadt@ --- src/lib/libc/string/wcschr.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/lib/libc/string/wcschr.c') diff --git a/src/lib/libc/string/wcschr.c b/src/lib/libc/string/wcschr.c index 231c7605a2..709d4797bb 100644 --- a/src/lib/libc/string/wcschr.c +++ b/src/lib/libc/string/wcschr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wcschr.c,v 1.5 2015/09/12 16:23:14 guenther Exp $ */ +/* $OpenBSD: wcschr.c,v 1.6 2015/10/01 02:32:07 guenther Exp $ */ /* $NetBSD: wcschr.c,v 1.2 2001/01/03 14:29:36 lukem Exp $ */ /*- @@ -39,7 +39,6 @@ wcschr(const wchar_t *s, wchar_t c) p = s; for (;;) { if (*p == c) { - /* LINTED interface specification */ return (wchar_t *)p; } if (!*p) -- cgit v1.2.3-55-g6feb