summaryrefslogtreecommitdiffstats
path: root/contrib/ipfilter/radix.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ipfilter/radix.c')
-rw-r--r--contrib/ipfilter/radix.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/contrib/ipfilter/radix.c b/contrib/ipfilter/radix.c
index 964c1095..69b50c0 100644
--- a/contrib/ipfilter/radix.c
+++ b/contrib/ipfilter/radix.c
@@ -1,5 +1,3 @@
-/* $NetBSD$ */
-
/*
* Copyright (c) 1988, 1989, 1993
* The Regents of the University of California. All rights reserved.
@@ -103,6 +101,12 @@ static int rn_lexobetter __P((void *, void *));
static struct radix_mask *rn_new_radix_mask __P((struct radix_node *,
struct radix_mask *));
static int rn_freenode __P((struct radix_node *, void *));
+#if defined(AIX) && !defined(_KERNEL)
+struct radix_node *rn_match __P((void *, struct radix_node_head *));
+struct radix_node *rn_addmask __P((int, int, void *));
+#define FreeS(x, y) KFREES(x, y)
+#define Bcopy(x, y, z) bcopy(x, y, z)
+#endif
/*
* The data structure for the keys is a radix tree with one way
OpenPOWER on IntegriCloud