diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-09-16 07:01:44 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-09-16 07:01:44 +0000 |
commit | 5867e6b1dd76c03a695dfa97d9e96c4617e1b28e (patch) | |
tree | 6507fcb8082c4cb837eb3eed032e899f6ef25f2e /emulators/rtc/files/rtc.c | |
parent | - Replace ugly perl substitution hacks with #if's. (diff) |
- Conditionalize bmaj and kqfilter in cdevsw.
Notes
Notes:
svn path=/head/; revision=47859
Diffstat (limited to 'emulators/rtc/files/rtc.c')
-rw-r--r-- | emulators/rtc/files/rtc.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/emulators/rtc/files/rtc.c b/emulators/rtc/files/rtc.c index 9eb6a90dcf4d..b78ae8727c48 100644 --- a/emulators/rtc/files/rtc.c +++ b/emulators/rtc/files/rtc.c @@ -97,7 +97,12 @@ static struct cdevsw rtc_cdevsw = { /* dump */ nodump, /* psize */ nopsize, /* flags */ 0, - /* bmaj */ -1 +#if __FreeBSD_version <= 500018 + /* bmaj */ -1, +#endif +#if __FreeBSD_version >= 500018 || __FreeBSD_version >= 430000 + /* kqfilter */ nokqfilter, +#endif }; /* |