Module Name: src
Committed By: christos
Date: Fri Apr 19 18:46:51 UTC 2013
Modified Files:
src/usr.bin/xlint/xlint: lint.1
Log Message:
document LINTEDn
To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/usr.bin/xlint/xlint/lint.1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/xlint/xlint/lint.1
diff -u src/usr.bin/xlint/xlint/lint.1:1.35 src/usr.bin/xlint/xlint/lint.1:1.36
--- src/usr.bin/xlint/xlint/lint.1:1.35 Fri Apr 29 05:23:29 2011
+++ src/usr.bin/xlint/xlint/lint.1 Fri Apr 19 14:46:50 2013
@@ -1,4 +1,4 @@
-.\" $NetBSD: lint.1,v 1.35 2011/04/29 09:23:29 wiz Exp $
+.\" $NetBSD: lint.1,v 1.36 2013/04/19 18:46:50 christos Exp $
.\"
.\" Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved.
.\" Copyright (c) 1994, 1995 Jochen Pohl
@@ -30,7 +30,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd August 2, 2008
+.Dd April 19, 2013
.Dt LINT 1
.Os
.Sh NAME
@@ -446,11 +446,15 @@ At the beginning of a file, mark all fun
in this file as
.Em used .
Also shut off complaints about unused function arguments.
-.It Li /* LINTED Oo Ar comment Oc Li */ No or Li /* NOSTRICT Oo Ar comment Oc Li */
+.It Li /* LINTED Ns Ar n Li Oo Ar comment Oc Li */ No or Li /* NOSTRICT Oo Ar comment Oc Li */
Suppresses any intra-file warning except those dealing with
unused variables or functions.
This directive should be placed
on the line immediately preceding where the lint warning occurred.
+The optional numeric argument suppresses the specific numbered
+message instead of every message.
+A list of messages and ids can be found in
+.Xr lint 7 .
.It Li /* LONGLONG */
Suppress complaints about use of long long integer types.
.It Li /* NOTREACHED */