summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/server.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/server.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/server.h')
-rw-r--r--usr.sbin/ppp/server.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/usr.sbin/ppp/server.h b/usr.sbin/ppp/server.h
index 8421fe8..02707b8 100644
--- a/usr.sbin/ppp/server.h
+++ b/usr.sbin/ppp/server.h
@@ -1,12 +1,9 @@
+/*
+ * $Id: $
+ */
+
extern int server;
-extern int ServerLocalOpen(const char *name, mode_t mask);
+extern int ServerLocalOpen(const char *, mode_t);
extern int ServerTcpOpen(int);
extern void ServerClose(void);
-
-#define UNKNOWN_SERVER (-2)
-#define NO_SERVER (-1)
-#define LOCAL_SERVER (1)
-#define INET_SERVER (2)
-
-extern int ServerType(void);
OpenPOWER on IntegriCloud