diff options
author | marcel <marcel@FreeBSD.org> | 2013-08-07 00:00:48 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2013-08-07 00:00:48 +0000 |
commit | 9f2f2e171a6de4c6d713a50366f3572946665fb5 (patch) | |
tree | b8704cff2de99c4cf2da972288c8d1271ec33598 /usr.sbin/nvram | |
parent | f5fd32bca5d6cadbe86d031375653c183adce356 (diff) | |
download | FreeBSD-src-9f2f2e171a6de4c6d713a50366f3572946665fb5.zip FreeBSD-src-9f2f2e171a6de4c6d713a50366f3572946665fb5.tar.gz |
Change <sys/diskpc98.h> to not redefine the same symbols that are
being defined in <sys/diskmbr.h>. Instead give the symbols here a
"PC98_" prefix. This way, both <sys/diskmbr.h> and <sys/diskpc98.h>
can be included in the same C source file.
The renaming is trivial. The only gotcha is that DOSBBSECTOR is
also redefined from 0 to 1. This because DOSBBSECTOR was always
used in conjunction with an addition of 1. The PC98_BBSECTOR symbol
is defined as 1 and the expression is simplified.
Note: it is not believed that ports are seriously impacted; or at
all for that matter.
Approved by: nyan@
Diffstat (limited to 'usr.sbin/nvram')
0 files changed, 0 insertions, 0 deletions