Static device counts will not be supported in 6.x so place the generated

macros (N<driver>) under BURN_BRIDGES.

Discussed with:	peter, imp, scottl, ...
This commit is contained in:
Brooks Davis 2004-06-30 21:00:47 +00:00
parent 6084486fd6
commit e32e9a42a6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=131369

View File

@ -148,7 +148,9 @@ do_header(char *dev, int match)
outf = fopen(file, "w");
if (outf == 0)
err(1, "%s", file);
fprintf(outf, "#ifndef BURN_BRIDGES\n");
fprintf(outf, "#define %s %d\n", name, count);
fprintf(outf, "#endif\n");
(void) fclose(outf);
return 0;
}