pkgsrc/net/mrt/patches/patch-ah
obache 9ce8e066fe Fix build problems with gcc4.
* invalid lvalue cast
* static v.s. extern
2007-12-21 13:30:12 +00:00

13 lines
426 B
Text

$NetBSD: patch-ah,v 1.1 2007/12/21 13:30:13 obache Exp $
--- lib/rib/rib.c.orig 2000-05-23 08:01:00.000000000 +0000
+++ lib/rib/rib.c
@@ -14,8 +14,6 @@ int num_active_generic_attr = 0;
int num_active_route_head = 0;
int num_active_route_node = 0;
-static rib_t *RIBS[AFI_MAX][SAFI_MAX];
-
static void rib_flush_route (int proto, int afi, int safi);
static nexthop_t *rib_find_best_route (prefix_t *prefix, int safi);