diff options
-rw-r--r-- | emulators/rtc/Makefile | 2 | ||||
-rw-r--r-- | emulators/rtc/files/rtc.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/emulators/rtc/Makefile b/emulators/rtc/Makefile index c5dac6d48f9a..5b81ce703546 100644 --- a/emulators/rtc/Makefile +++ b/emulators/rtc/Makefile @@ -55,9 +55,7 @@ pre-install: post-install: ${RM} -f ${DEVDIR}/rtc -.if ${OSVERSION} < 502104 mknod ${DEVDIR}/rtc c ${CDEV_MAJOR} 0 -.endif ${INSTALL_DATA} ${WRKSRC}/rtc.h ${PREFIX}/include/ ${MKDIR} ${PREFIX}/share/examples/rtc ${INSTALL_DATA} ${WRKSRC}/test.c ${PREFIX}/share/examples/rtc/ diff --git a/emulators/rtc/files/rtc.c b/emulators/rtc/files/rtc.c index 1b4a315e15d8..e825602624e8 100644 --- a/emulators/rtc/files/rtc.c +++ b/emulators/rtc/files/rtc.c @@ -103,9 +103,7 @@ static struct cdevsw rtc_cdevsw = { .d_poll = rtc_poll, .d_read = rtc_read, .d_name = DEVICE_NAME, -#if __FreeBSD_version < 502104 .d_maj = CDEV_MAJOR, -#endif #else /* open */ rtc_open, /* close */ rtc_close, |