From e20f7ccd9e110fcd5deb945f8d23922efd8b0822 Mon Sep 17 00:00:00 2001 From: Chris Hall Date: Tue, 29 Mar 2011 00:29:35 +0100 Subject: Bring "ex" version up to date with 0.99.18 Release: 0.99.18ex14 Also fixes issue with unknown attributes -- does not release them prematurely. Contains the "bgpd: New show commands for improved view and address family support", which is post 0.99.18. (But not RFC 5082 GTSM.) --- lib/vector.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/vector.h') diff --git a/lib/vector.h b/lib/vector.h index f098d78a..e69e628a 100644 --- a/lib/vector.h +++ b/lib/vector.h @@ -167,10 +167,11 @@ Inline p_vector_item vector_pop_item(vector v) ; extern void vector_insert(vector v, vector_index i, unsigned int n) ; extern void vector_delete(vector v, vector_index i, unsigned int n) ; -typedef int vector_bsearch_cmp(const void** pp_val, const void** item) ; +typedef int vector_bsearch_cmp(const void* const* pp_val, + const void* const* item) ; vector_index vector_bsearch(vector v, vector_bsearch_cmp* cmp, const void* p_val, int* result) ; -typedef int vector_sort_cmp(const void** a, const void** b) ; +typedef int vector_sort_cmp(const void* const* a, const void* const* b) ; void vector_sort(vector v, vector_sort_cmp* cmp) ; extern vector vector_copy_here(vector dst, vector src) ; -- cgit v1.2.3