projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix #ifdef and reversed parameters
[unix-history]
/
usr
/
src
/
usr.bin
/
tip
/
aculib
/
df.c
diff --git
a/usr/src/usr.bin/tip/aculib/df.c
b/usr/src/usr.bin/tip/aculib/df.c
index
9170183
..
46826db
100644
(file)
--- a/
usr/src/usr.bin/tip/aculib/df.c
+++ b/
usr/src/usr.bin/tip/aculib/df.c
@@
-1,4
+1,4
@@
-/* df.c 4.
2 81/10/09
*/
+/* df.c 4.
3 81/10/21
*/
/*
* Dial the DF02-AC or DF03-AC
*/
/*
* Dial the DF02-AC or DF03-AC
*/
@@
-14,7
+14,7
@@
static timeout();
df02_dialer(num, acu)
char *num, *acu;
{
df02_dialer(num, acu)
char *num, *acu;
{
- return(df_dialer(
acu, num
, 0));
+ return(df_dialer(
num, acu
, 0));
}
#endif
}
#endif
@@
-22,7
+22,7
@@
char *num, *acu;
df03_dialer(num, acu)
char *num, *acu;
{
df03_dialer(num, acu)
char *num, *acu;
{
- return(df_dialer(
acu, num
, 1));
+ return(df_dialer(
num, acu
, 1));
}
#endif
}
#endif
@@
-33,7
+33,9
@@
int df03;
register int f = FD;
struct sgttyb buf;
int speed = 0, c = 0;
register int f = FD;
struct sgttyb buf;
int speed = 0, c = 0;
+#ifdef TIOCMSET
int st = MST; /* Secondary Transmit flag, for speed select */
int st = MST; /* Secondary Transmit flag, for speed select */
+#endif
ioctl(f, TIOCHPCL, 0); /* make sure it hangs up when done */
if (setjmp(Sjbuf)) {
ioctl(f, TIOCHPCL, 0); /* make sure it hangs up when done */
if (setjmp(Sjbuf)) {