diff options
author | brian <brian@FreeBSD.org> | 1997-10-26 01:04:02 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-10-26 01:04:02 +0000 |
commit | 486b8925ecb0d408e403474828e20c1cce8aaec8 (patch) | |
tree | cca66974908224bf517868aaafb2e4acd1abe88d /usr.sbin/ppp/route.h | |
parent | 1d2927c9fac7bcfe68bf6ab502c716adc91d6f09 (diff) | |
download | FreeBSD-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/route.h')
-rw-r--r-- | usr.sbin/ppp/route.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/usr.sbin/ppp/route.h b/usr.sbin/ppp/route.h index b5e3523..ba78987 100644 --- a/usr.sbin/ppp/route.h +++ b/usr.sbin/ppp/route.h @@ -17,12 +17,11 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: route.h,v 1.4 1997/06/09 03:27:36 brian Exp $ + * $Id: route.h,v 1.5 1997/08/25 00:29:27 brian Exp $ * */ -#ifndef _ROUTE_H_ -#define _ROUTE_H_ -int GetIfIndex(char *); - -#endif +extern int GetIfIndex(char *); +extern int ShowRoute(void); +extern void OsSetRoute(int, struct in_addr, struct in_addr, struct in_addr); +extern void DeleteIfRoutes(int); |