diff options
author | brian <brian@FreeBSD.org> | 1997-10-26 01:04:02 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-10-26 01:04:02 +0000 |
commit | 486b8925ecb0d408e403474828e20c1cce8aaec8 (patch) | |
tree | cca66974908224bf517868aaafb2e4acd1abe88d /usr.sbin/ppp/modem.h | |
parent | 1d2927c9fac7bcfe68bf6ab502c716adc91d6f09 (diff) | |
download | FreeBSD-src-486b8925ecb0d408e403474828e20c1cce8aaec8.zip FreeBSD-src-486b8925ecb0d408e403474828e20c1cce8aaec8.tar.gz |
Cosmetic (no functional changes):
o Add missing $Id$s
o Move extern decls from .c -> .h files
o Staticize
o Remove #includes from .h files
o style(9)ify includes
o bcopy -> memcpy
bzero -> memset
bcmp -> memcmp
index -> strchr
rindex -> strrchr
o Move timeout.h -> timer.h (making it consistent w/ timer.c)
o Add -Wmissing-prototypes
Diffstat (limited to 'usr.sbin/ppp/modem.h')
-rw-r--r-- | usr.sbin/ppp/modem.h | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/usr.sbin/ppp/modem.h b/usr.sbin/ppp/modem.h index 22fab8a..34b1e1bf 100644 --- a/usr.sbin/ppp/modem.h +++ b/usr.sbin/ppp/modem.h @@ -15,18 +15,12 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: modem.h,v 1.8 1997/06/09 03:27:30 brian Exp $ + * $Id: modem.h,v 1.9 1997/08/25 00:29:23 brian Exp $ * * TODO: */ -#ifndef _MODEM_H_ -#define _MODEM_H_ -#include <termios.h> -#include "mbuf.h" - extern int RawModem(int); -extern void UnrawModem(int); extern void UpModem(int); extern void DownModem(int); extern void WriteModem(int, char *, int); @@ -36,10 +30,10 @@ extern void CloseModem(void); extern int ModemSpeed(void); extern int ModemQlen(void); extern int DialModem(void); -extern int SpeedToInt(speed_t); extern speed_t IntToSpeed(int); extern void ModemTimeout(void); extern void DownConnection(void); extern void ModemOutput(int, struct mbuf *); - -#endif +extern int ChangeParity(char *); +extern void HangupModem(int); +extern int ShowModemStatus(void); |