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/lcp.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/lcp.h')
-rw-r--r-- | usr.sbin/ppp/lcp.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ppp/lcp.h b/usr.sbin/ppp/lcp.h index e3b67b2..ea5388c 100644 --- a/usr.sbin/ppp/lcp.h +++ b/usr.sbin/ppp/lcp.h @@ -15,7 +15,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: lcp.h,v 1.11 1997/11/08 00:28:08 brian Exp $ + * $Id: lcp.h,v 1.12 1997/11/14 15:39:15 brian Exp $ * * TODO: */ @@ -73,6 +73,6 @@ extern void LcpSendProtoRej(u_char *, int); extern void LcpOpen(int); extern void LcpClose(void); extern void LcpDown(void); -extern void PutConfValue(int, u_char **, char **, u_char, int, u_long); -extern int ReportLcpStatus(void); +extern void PutConfValue(int, u_char **, const char **, u_char, int, u_long); +extern int ReportLcpStatus(struct cmdargs const *); extern void LcpInput(struct mbuf *); |