summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/log.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-10-26 01:04:02 +0000
committerbrian <brian@FreeBSD.org>1997-10-26 01:04:02 +0000
commit486b8925ecb0d408e403474828e20c1cce8aaec8 (patch)
treecca66974908224bf517868aaafb2e4acd1abe88d /usr.sbin/ppp/log.h
parent1d2927c9fac7bcfe68bf6ab502c716adc91d6f09 (diff)
downloadFreeBSD-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/log.h')
-rw-r--r--usr.sbin/ppp/log.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/usr.sbin/ppp/log.h b/usr.sbin/ppp/log.h
index 6542f94..f7520aa 100644
--- a/usr.sbin/ppp/log.h
+++ b/usr.sbin/ppp/log.h
@@ -1,3 +1,7 @@
+/*
+ * $Id: $
+ */
+
#define LogMIN (1)
#define LogASYNC (1) /* syslog(LOG_INFO, ....) */
#define LogCARRIER (2)
@@ -24,11 +28,11 @@
extern const char *LogName(int);
extern void LogKeep(int);
extern void LogDiscard(int);
-extern void LogDiscardAll();
+extern void LogDiscardAll(void);
extern int LogIsKept(int);
extern void LogOpen(const char *);
extern void LogSetTun(int);
-extern void LogClose();
+extern void LogClose(void);
extern void LogPrintf(int, char *,...);
-extern void LogDumpBp(int, char *hdr, struct mbuf * bp);
-extern void LogDumpBuff(int, char *hdr, u_char * ptr, int n);
+extern void LogDumpBp(int, char *, struct mbuf *);
+extern void LogDumpBuff(int, char *, u_char *, int);
OpenPOWER on IntegriCloud