1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-12 09:58:36 +00:00

Catch mkheaders.c up to the removal of counted device support in 2005.

mkheaders.c hasn't made headers in ~15 years. Belatedly update the comments to
reflect that all it does these days is warn about 'device foo' lines in the
config where we don't know what a 'foo' is.

Remove extra includes too. These also haven't been needed for 15 years and
weren't removed at the time the comment wasn't updated...
This commit is contained in:
Warner Losh 2019-08-15 17:21:38 +00:00
parent a78c1027d7
commit ecc7fd09a6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=351089

View File

@ -38,14 +38,14 @@ static const char rcsid[] =
#endif /* not lint */
/*
* Make all the .h files for the optional entries
* This used to generate a bunch of hearders files related to devices when
* device counters were supported. Support for that was removed in 2005.
* Since then, all we've done is to report unknown devices in this file.
* It's kept its historical name, despite no longer generating headers.
*/
#include <ctype.h>
#include <err.h>
#include <stdio.h>
#include <string.h>
#include <sys/param.h>
#include "config.h"
#include "y.tab.h"