summaryrefslogtreecommitdiffstats
path: root/usr.bin/tset/tset.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1994-10-06 20:41:56 +0000
committerache <ache@FreeBSD.org>1994-10-06 20:41:56 +0000
commitd5d42820e00fb15ff8263194cdef65a75b5a6438 (patch)
tree4ac80dbcf46607f431238be06a16ff02087b63ff /usr.bin/tset/tset.c
parent8ef9b59f4286b53af4aabb1452a4a1fc74545a5b (diff)
downloadFreeBSD-src-d5d42820e00fb15ff8263194cdef65a75b5a6438.zip
FreeBSD-src-d5d42820e00fb15ff8263194cdef65a75b5a6438.tar.gz
PC/ospeed code ifdefed out, our libtermcap use usleep now
Diffstat (limited to 'usr.bin/tset/tset.c')
-rw-r--r--usr.bin/tset/tset.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tset/tset.c b/usr.bin/tset/tset.c
index 60bc5fe..3fbf3c0 100644
--- a/usr.bin/tset/tset.c
+++ b/usr.bin/tset/tset.c
@@ -81,6 +81,7 @@ main(argc, argv)
oldmode = mode;
Ospeed = cfgetospeed(&mode);
+#ifndef __FreeBSD__
switch(Ospeed) {
case B0: ospeed = 0; break;
case B50: ospeed = 1; break;
@@ -109,7 +110,7 @@ main(argc, argv)
case B115200: ospeed = 17; break;
#endif
}
-
+#endif /* __FreeBSD__ */
if (p = strrchr(*argv, '/'))
++p;
else
OpenPOWER on IntegriCloud