diff options
author | brian <brian@FreeBSD.org> | 1997-11-22 03:37:54 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-11-22 03:37:54 +0000 |
commit | a7f001c816c9390acda1c72f889fd110f8d75563 (patch) | |
tree | 876d508224fb0bc9435a2e3b83f73719b56ad0b6 /usr.sbin/ppp/hdlc.h | |
parent | 13d351d26116b6bf544f619e0de396a53d47ccd1 (diff) | |
download | FreeBSD-src-a7f001c816c9390acda1c72f889fd110f8d75563.zip FreeBSD-src-a7f001c816c9390acda1c72f889fd110f8d75563.tar.gz |
Fix prototypes.
Remove extraneous decls.
Add ``const'' to several places.
Allow ``make NOALIAS=1'' to remove IP aliasing.
Merge with OpenBSD - only the Makefiles vary.
We can now survive a compile with
-Wall -Wbad-function-cast -Wcast-align -Wcast-qual
-Winline -Wmissing-declarations -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wredundant-decls
-Wshadow -Wstrict-prototypes -Wwrite-strings -Wchar-subscripts
(although the Makefile just contains -Wall).
Diffstat (limited to 'usr.sbin/ppp/hdlc.h')
-rw-r--r-- | usr.sbin/ppp/hdlc.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.sbin/ppp/hdlc.h b/usr.sbin/ppp/hdlc.h index 362d05c..3f14cc1 100644 --- a/usr.sbin/ppp/hdlc.h +++ b/usr.sbin/ppp/hdlc.h @@ -15,7 +15,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: hdlc.h,v 1.10 1997/08/25 00:29:13 brian Exp $ + * $Id: hdlc.h,v 1.11 1997/10/26 01:02:45 brian Exp $ * * TODO: */ @@ -61,8 +61,7 @@ extern void HdlcInit(void); extern void HdlcErrorCheck(void); extern void HdlcInput(struct mbuf *); extern void HdlcOutput(int, u_short, struct mbuf *bp); -extern void AsyncOutput(int, struct mbuf *, int); extern u_short HdlcFcs(u_short, u_char *, int); extern void DecodePacket(u_short, struct mbuf *); -extern int ReportHdlcStatus(void); -extern int ReportProtStatus(void); +extern int ReportHdlcStatus(struct cmdargs const *); +extern int ReportProtStatus(struct cmdargs const *); |