summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/ncp.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ppp/ncp.c')
-rw-r--r--usr.sbin/ppp/ncp.c16
1 files changed, 14 insertions, 2 deletions
diff --git a/usr.sbin/ppp/ncp.c b/usr.sbin/ppp/ncp.c
index 79a3000..202f1c3 100644
--- a/usr.sbin/ppp/ncp.c
+++ b/usr.sbin/ppp/ncp.c
@@ -139,7 +139,13 @@ ncp_Destroy(struct ncp *ncp)
}
int
-ncp_fsmStart(struct ncp *ncp, struct bundle *bundle)
+ncp_fsmStart(struct ncp *ncp,
+#ifdef NOINET6
+ struct bundle *bundle __unused
+#else
+ struct bundle *bundle
+#endif
+ )
{
int res = 0;
@@ -326,7 +332,13 @@ ncp_FillPhysicalQueues(struct ncp *ncp, struct bundle *bundle)
* of what is to be pushed next, coming either from mp->out or ncp->afq.
*/
int
-ncp_PushPacket(struct ncp *ncp __unused, int *af, struct link *l)
+ncp_PushPacket(struct ncp *ncp __unused,
+#ifdef NOINET6
+ int *af __unused,
+#else
+ int *af,
+#endif
+ struct link *l)
{
struct bundle *bundle = l->lcp.fsm.bundle;
int res;
OpenPOWER on IntegriCloud