summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_aspath.h
diff options
context:
space:
mode:
authorPaul Jakma <paul.jakma@sun.com>2007-04-29 20:25:17 +0200
committerPaul Jakma <paul.jakma@sun.com>2007-04-29 20:25:17 +0200
commit923de654c8d251d6714a6f9da2e93c236e935042 (patch)
tree473cc25308810340efb82724101bd428af352958 /bgpd/bgp_aspath.h
parent[zebra/solaris] fix if_get_index passing wrong arg to lifreq_set_name (diff)
downloadfrr-923de654c8d251d6714a6f9da2e93c236e935042.tar.xz
frr-923de654c8d251d6714a6f9da2e93c236e935042.zip
[bgpd] Fix warnings: hash callbacks should match hash API declarations
2007-04-22 Sebastien Tandel <sebastien@tandel.be> * bgp_advertise.c : (baa_hash_alloc, baa_hash_key, baa_hash_cmp) conforms to quagga hash API. Defines _hash_[alloc|key|cmp] with void * arguments as defined by the API. * bgp_aspath.c,h : (aspath_key_make) conforms to quagga hash API. Defines _hash_[alloc|key|cmp] with void * arguments as defined by the API. * bgp_attr.c,h : (cluster_hash_alloc, cluster_hash_key_make, cluster_hash_cmp, transit_hash_alloc, transit_hash_key_make, transit_hash_cmp, attrhash_key_make, attrhash_cmp, bgp_attr_hash_alloc) conforms to quagga hash API. Defines _hash_[alloc|key|cmp] with void * arguments as defined by the API.
Diffstat (limited to 'bgpd/bgp_aspath.h')
-rw-r--r--bgpd/bgp_aspath.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_aspath.h b/bgpd/bgp_aspath.h
index 5400c57c1..efec24c2e 100644
--- a/bgpd/bgp_aspath.h
+++ b/bgpd/bgp_aspath.h
@@ -79,7 +79,7 @@ extern void aspath_unintern (struct aspath *);
extern const char *aspath_print (struct aspath *);
extern void aspath_print_vty (struct vty *, const char *, struct aspath *);
extern void aspath_print_all_vty (struct vty *);
-extern unsigned int aspath_key_make (struct aspath *);
+extern unsigned int aspath_key_make (void *);
extern int aspath_loop_check (struct aspath *, as_t);
extern int aspath_private_as_check (struct aspath *);
extern int aspath_firstas_check (struct aspath *, as_t);