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/log.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/log.h')
-rw-r--r-- | usr.sbin/ppp/log.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ppp/log.h b/usr.sbin/ppp/log.h index d7fefa0..7a84512 100644 --- a/usr.sbin/ppp/log.h +++ b/usr.sbin/ppp/log.h @@ -1,5 +1,5 @@ /* - * $Id: log.h,v 1.15 1997/11/04 01:17:01 brian Exp $ + * $Id: log.h,v 1.16 1997/11/09 06:22:42 brian Exp $ */ #define LogMIN (1) @@ -39,6 +39,6 @@ extern int LogIsKept(int); extern void LogOpen(const char *); extern void LogSetTun(int); extern void LogClose(void); -extern void LogPrintf(int, char *,...); -extern void LogDumpBp(int, char *, struct mbuf *); -extern void LogDumpBuff(int, char *, u_char *, int); +extern void LogPrintf(int, const char *,...); +extern void LogDumpBp(int, const char *, const struct mbuf *); +extern void LogDumpBuff(int, const char *, const u_char *, int); |