summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/modem.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-11-08 00:28:11 +0000
committerbrian <brian@FreeBSD.org>1997-11-08 00:28:11 +0000
commitcf98226436ed56bb8bafd7a981bf6c0ce0622912 (patch)
tree00eb1bfaebf5ce63969f09b7dfa6183fc0481a34 /usr.sbin/ppp/modem.c
parent5cb2a472c9a3fdbbaa75efe5afcdc62cc8710007 (diff)
downloadFreeBSD-src-cf98226436ed56bb8bafd7a981bf6c0ce0622912.zip
FreeBSD-src-cf98226436ed56bb8bafd7a981bf6c0ce0622912.tar.gz
Don't pass global vars as args.
Remove local/global conflicts.
Diffstat (limited to 'usr.sbin/ppp/modem.c')
-rw-r--r--usr.sbin/ppp/modem.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/ppp/modem.c b/usr.sbin/ppp/modem.c
index b551139..9015d4e 100644
--- a/usr.sbin/ppp/modem.c
+++ b/usr.sbin/ppp/modem.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: modem.c,v 1.60 1997/10/26 01:03:24 brian Exp $
+ * $Id: modem.c,v 1.61 1997/10/29 01:19:44 brian Exp $
*
* TODO:
*/
@@ -487,7 +487,7 @@ HaveModem()
static struct termios modemios;
int
-OpenModem(int mode)
+OpenModem()
{
struct termios rstio;
int oldflag;
@@ -633,7 +633,7 @@ ModemSpeed()
* Put modem tty line into raw mode which is necessary in packet mode operation
*/
int
-RawModem(int modem)
+RawModem()
{
struct termios rstio;
int oldflag;
@@ -661,7 +661,7 @@ RawModem(int modem)
}
static void
-UnrawModem(int modem)
+UnrawModem()
{
int oldflag;
@@ -742,7 +742,7 @@ HangupModem(int flag)
strcpy(ScriptBuffer, VarHangupScript); /* arrays are the same size */
DoChat(ScriptBuffer);
tcflush(modem, TCIOFLUSH);
- UnrawModem(modem);
+ UnrawModem();
CloseLogicalModem();
}
} else if (modem >= 0) {
OpenPOWER on IntegriCloud