diff options
| author | rillig <rillig@NetBSD.org> | 2023-06-30 19:10:49 +0000 |
|---|---|---|
| committer | rillig <rillig@NetBSD.org> | 2023-06-30 19:10:49 +0000 |
| commit | 0f87102b13298d65c535c6bbe9490dcd619a1b76 (patch) | |
| tree | 77c127abe99239ef07aafe3afb633739184eaf1a /tests/usr.bin | |
| parent | fdcc8cff871d19278241dae9c368bdb6c783d01a (diff) | |
lint: clean up handling of declarations
No functional change.
Diffstat (limited to 'tests/usr.bin')
| -rw-r--r-- | tests/usr.bin/xlint/lint1/msg_085.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/usr.bin/xlint/lint1/msg_085.c b/tests/usr.bin/xlint/lint1/msg_085.c index a18d9cab5d8..b77fd2f693f 100644 --- a/tests/usr.bin/xlint/lint1/msg_085.c +++ b/tests/usr.bin/xlint/lint1/msg_085.c @@ -1,8 +1,13 @@ -/* $NetBSD: msg_085.c,v 1.6 2023/03/28 14:44:34 rillig Exp $ */ +/* $NetBSD: msg_085.c,v 1.7 2023/06/30 19:10:49 rillig Exp $ */ # 3 "msg_085.c" // Test for message: dubious tag declaration '%s %s' [85] +/* + * Declarations of structs/unions/enums in parameter lists are allowed + * but useless. + */ + /* lint1-extra-flags: -X 351 */ /* expect+1: warning: dubious tag declaration 'struct in_argument' [85] */ |
