diff options
author | brooks <brooks@FreeBSD.org> | 2004-06-30 21:00:47 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2004-06-30 21:00:47 +0000 |
commit | e9852a0e0bc0822e8c812fc9bcb61eb3445f6d50 (patch) | |
tree | 31aea558fb2a0d7a056d8f781b1fbb2b69d05f0e /usr.sbin/config/mkheaders.c | |
parent | a8d39b6fa7a909d3be144a231bf964501c9b4749 (diff) | |
download | FreeBSD-src-e9852a0e0bc0822e8c812fc9bcb61eb3445f6d50.zip FreeBSD-src-e9852a0e0bc0822e8c812fc9bcb61eb3445f6d50.tar.gz |
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, ...
Diffstat (limited to 'usr.sbin/config/mkheaders.c')
-rw-r--r-- | usr.sbin/config/mkheaders.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/config/mkheaders.c b/usr.sbin/config/mkheaders.c index bdc8599..3cf94df 100644 --- a/usr.sbin/config/mkheaders.c +++ b/usr.sbin/config/mkheaders.c @@ -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; } |