The NetBSD Project

CVS log for src/tests/usr.bin/xlint/lint1/msg_352.c

[BACK] Up to [cvs.NetBSD.org] / src / tests / usr.bin / xlint / lint1

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.3 / (download) - annotate - [select for diffs], Fri Mar 1 17:22:55 2024 UTC (37 hours, 1 minute ago) by rillig
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

tests/lint: remove redundant documentation

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jul 7 19:45:22 2023 UTC (7 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.1: +3 -1 lines
Diff to previous 1.1 (colored)

lint: warn about function definitions without header declaration

The existing warning was only issued for function declarations, not for
function definitions.

The interesting change in the tests is in msg_351.c.  Many other tests
use non-static functions due to their syntactic brevity.  In these
tests, the warning is disabled individually, to allow new functions to
be added without generating warning 351.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Mar 28 20:04:52 2023 UTC (11 months ago) by rillig
Branch: MAIN

lint: warn about 'extern' declarations inside function bodies

https://mail-index.netbsd.org/tech-userlevel/2023/03/15/msg013727.html

The previous attempt (message 351 about 'extern' declarations outside
headers) did not cover the proposal from the tech-userlevel mailing list
but instead warns about a different usage pattern of the 'extern'
keyword.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>