Home | History | Annotate | Download | only in lint2
History log of /src/usr.bin/xlint/lint2/externs2.h
RevisionDateAuthorComments
 1.24  24-May-2025  rillig lint: constify
 1.23  31-Aug-2024  rillig lint: KNF
 1.22  03-Dec-2023  rillig branches: 1.22.2;
lint: in declarations, replace tab with space

Previously, in some cases, the keywords 'const' or 'struct' were
followed by a tab, which doesn't make sense.

No functional change.
 1.21  13-Jul-2023  rillig lint: indent copyright lines consistently
 1.20  10-Jul-2023  rillig lint: clean up lint2
 1.19  14-Jan-2023  rillig lint: rename lint2 functions to be more expressive
 1.18  13-Jan-2023  rillig lint: move xalloc to the only file where it is used

No functional change.
 1.17  13-Jan-2023  rillig lint: remove custom memory allocator

Besides adding complexity, the custom memory allocator didn't invalidate
freed memory, which made it harder to find possible use-after-free bugs.
 1.16  16-Nov-2021  rillig lint: clean up initialization of lint2 symbol table

No functional change.
 1.15  05-Sep-2021  rillig lint: hide irrelevant type information from lint2

No functional change.
 1.14  28-Aug-2021  rillig lint: write the entries for the libraries in alphabetical order

This makes them easier to read by humans.

The checks are still performed in hashcode order since there are no
tests that would cover this change.
 1.13  28-Aug-2021  rillig lint: remove unused parameter from forall

No functional change.
 1.12  22-Aug-2021  rillig lint: remove Tflag and pflag from common declarations

These flags are only needed by lint1 and lint2, but not by the driver
xlint.

No functional change.
 1.11  22-Aug-2021  rillig lint: constify lint2 checking functions

No functional change.
 1.10  10-Aug-2021  rillig lint: clean up comments
 1.9  16-Jan-2021  rillig lint: replace 0 and 1 with false and true, where appropriate

Change in behavior: Passing the option -h exactly 4294967296 times or
any multiple thereof is no longer equivalent to passing it never at all,
it is now equivalent to passing it once. See main2.c, hflag++ for the
actual change.

Other than that, no functional change intended.

A very large portion of the code already conformed to the requirements
of the strict bool mode. The only missing thing was using the constant
literals false and true instead of 0 and 1. For sure there are some
integer literals left that can be converted. For now, all literals that
appeared in the form " = 0" or " = 1" have been replaced.
 1.8  18-Jan-2002  thorpej Centralize the initialization/declaration of the ttab.
 1.7  28-May-2001  lukem cleanup (prior to more adding more features):
- convert to ANSI KNF
- remove trailing whitespace
- translate some comments from german into english

code compiles and runs clean, and tested by running "make lint" against
xlint source using previous and this lint produces same results.
 1.6  14-Jun-2000  cgd fix up NetBSD RCS Ids to match the standard, and the leading comment as
to match as well. No functional changes.
 1.5  22-Feb-1998  christos branches: 1.5.8;
WARNSify
 1.4  03-Nov-1997  cgd implement (hack in) symbol (function and variable) renaming, so that
the function renaming tricks currently needed by libc can be tolerated
by lint. This needs some cleanup, but it appears to work.
 1.3  22-Dec-1996  cgd branches: 1.3.2;
* recognize that pointers to identical unnamed and untyped structs,
unions, and enums are, in fact, identical. This is done by tagging
each of unnamed and untyped structure, union and enum with a unique
position of creation, which is used as a unique identifier that
when determine whether or not a pair of structures, unions, or enums
are identical.
 1.2  03-Jul-1995  cgd RCS id cleanup
 1.1  03-Jul-1995  cgd branches: 1.1.1;
Initial revision
 1.1.1.1  03-Jul-1995  cgd lint(1) implementation, by Jochen Pohl. named 'xlint' for a similar
reason to why 'install' is named 'xinstall'.
 1.3.2.1  04-Nov-1997  thorpej Pull up from trunk: make renaming work and other minor fixes.
 1.5.8.1  23-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.22.2.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed