freebsd-dev/usr.sbin/config
Kyle Evans 2ffdc21324 config: make changes to allow some parts to build as C++
Highlights:
- Avoid keywords (this, not) as variable names
- Move yyparse into config.h with other declarations
- All declarations in config.h are assumed guilty until proven innocent
- Some const-correctness
- Casting malloc/calloc returns

Note that we're not building any C++ here yet, this will be introduced
in other commits to replace some of the lib dependencies.  Reducing the
number of FreeBSD-specific dependencies we have reduces some friction
for building our bootstrap tools independently in other environments.

Reviewed by:	imp
Sponsored by:	Klara, Inc.
Sponsored by:	NetApp, Inc.
Differential Revision:	https://reviews.freebsd.org/D38274
2023-02-08 00:09:10 -06:00
..
config.5 config(5): drop mention of mips 2022-10-17 15:12:12 -03:00
config.8 Indicate which port gdb.1 and kgdb.1 come from. 2022-08-17 19:13:22 +02:00
config.h config: make changes to allow some parts to build as C++ 2023-02-08 00:09:10 -06:00
config.y config(8): Remove obsolete 'config' directive. 2021-06-17 15:17:18 -06:00
configvers.h config: Add no-ctfconvert support. 2020-04-28 16:09:22 +00:00
kernconf.tmpl
lang.l config(8): Remove obsolete 'config' directive. 2021-06-17 15:17:18 -06:00
main.c config: make changes to allow some parts to build as C++ 2023-02-08 00:09:10 -06:00
Makefile config: do not link against libl, it is not needed 2019-09-10 07:14:39 +00:00
Makefile.depend
mkheaders.c config: Fix typo in comment. 2021-02-01 13:13:36 -08:00
mkmakefile.c config: make changes to allow some parts to build as C++ 2023-02-08 00:09:10 -06:00
mkoptions.c config: make changes to allow some parts to build as C++ 2023-02-08 00:09:10 -06:00