From a7f001c816c9390acda1c72f889fd110f8d75563 Mon Sep 17 00:00:00 2001 From: brian Date: Sat, 22 Nov 1997 03:37:54 +0000 Subject: 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). --- usr.sbin/ppp/lqr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/ppp/lqr.h') diff --git a/usr.sbin/ppp/lqr.h b/usr.sbin/ppp/lqr.h index fa784e5..7225fdb 100644 --- a/usr.sbin/ppp/lqr.h +++ b/usr.sbin/ppp/lqr.h @@ -15,7 +15,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: lqr.h,v 1.8 1997/10/26 01:03:10 brian Exp $ + * $Id: lqr.h,v 1.9 1997/10/26 12:42:12 brian Exp $ * * TODO: */ @@ -55,7 +55,7 @@ struct lqrsave HisLqrSave; #define LQM_LQR 1 #define LQM_ECHO 2 -extern void LqrDump(char *, struct lqrdata *); +extern void LqrDump(const char *, const struct lqrdata *); extern void LqrChangeOrder(struct lqrdata *, struct lqrdata *); extern void StartLqm(void); extern void StopLqr(int); -- cgit v1.1