summaryrefslogtreecommitdiffstats
path: root/sys/dev/cx/machdep.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-10-13 07:02:56 +0000
committerphk <phk@FreeBSD.org>2004-10-13 07:02:56 +0000
commite35c2bf38ed7bcd4f36b503d6774a863ccd6c28f (patch)
treef8dfc04158c37b98dc821b1deb1967ff5d7e2dd4 /sys/dev/cx/machdep.h
parent5bae9fd39090cd780ec58128031b359dab6d7704 (diff)
downloadFreeBSD-src-e35c2bf38ed7bcd4f36b503d6774a863ccd6c28f.zip
FreeBSD-src-e35c2bf38ed7bcd4f36b503d6774a863ccd6c28f.tar.gz
First half of tty code rework: unifdef -D__FreeBSD_Version=600000
The changes in the next commit would make the code totally unreadable if the #ifdef'ing were maintained. It might make a lot of sense to split if_cx.c in a netgraph related and in a tty related file but I will not attempt that without hardware.
Diffstat (limited to 'sys/dev/cx/machdep.h')
-rw-r--r--sys/dev/cx/machdep.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/cx/machdep.h b/sys/dev/cx/machdep.h
index 2346925..0a622f1e 100644
--- a/sys/dev/cx/machdep.h
+++ b/sys/dev/cx/machdep.h
@@ -74,9 +74,7 @@
# include <sys/libkern.h>
# include <sys/systm.h>
# define memset(a,b,c) bzero (a,c)
-# if __FreeBSD_version > 501000
-# define port_t int
-# endif
+# define port_t int
#endif
#endif
OpenPOWER on IntegriCloud