$NetBSD: patch-af,v 1.1.1.1 1999/10/08 04:34:43 dbj Exp $ --- pppd/ipv6cp.c.orig Fri Aug 13 02:46:13 1999 +++ pppd/ipv6cp.c Sat Sep 18 00:53:19 1999 @@ -50,12 +50,15 @@ #include "pppd.h" #include "fsm.h" #include "ipcp.h" +#ifdef INET6 #include "ipv6cp.h" +#endif #include "magic.h" #include "pathnames.h" static const char rcsid[] = RCSID; +#ifdef INET6 /* global vars */ ipv6cp_options ipv6cp_wantoptions[NUM_PPP]; /* Options that we want to request */ ipv6cp_options ipv6cp_gotoptions[NUM_PPP]; /* Options that peer ack'd */ @@ -79,6 +82,7 @@ static void ipv6cp_up __P((fsm *)); /* We're UP */ static void ipv6cp_down __P((fsm *)); /* We're DOWN */ static void ipv6cp_finished __P((fsm *)); /* Don't need lower layer */ +static char *llv6_ntoa __P((eui64_t)); fsm ipv6cp_fsm[NUM_PPP]; /* IPV6CP fsm structure */ @@ -242,7 +246,7 @@ /* * Make a string representation of a network address. */ -char * +static char * llv6_ntoa(ifaceid) eui64_t ifaceid; { @@ -1360,3 +1364,4 @@ return 0; return 1; } +#endif